/** * The input schema MCP hosts show agents, generated from the canonical * contract. Hosts resend every tool definition on every request, so this view * keeps only what decides a call: * - query variants merge into one object; `operation` becomes one enum and * the fields a variant requires beyond the shared ones move to one * description line (omitted when no variant needs more); * - it shows every field some variant requires and the tool's primary * fields (the optional brief, mainGoal and reasoning, stays out except on * clasify); numeric bounds stay where callers compose values; titles, `$schema` and nested descriptions go; * - every other field is left out, so objects stay open: validation still * accepts them, `schema ` documents them, and `next.*` continuations * carry the ones agents copy (pages, snapshots, offsets, `debug`). * The view accepts a superset of the canonical schema and is never used to * validate: the canonical Zod schema and the native contract still do. */ type Json = Record; /** * The optional fields each view shows besides required ones: the main scope * filters and workflow levers agents compose. Rare knobs and fields whose * default is right stay out. */ export declare const PRIMARY_QUERY_FIELDS: Readonly>; /** * Published wording, ≤60 chars, where the canonical description (also shown * by `schema`) is longer than a call needs; `null` drops it. Tool * descriptions own routing, so fields do not repeat it. */ export declare const PUBLISHED_FIELD_DESCRIPTIONS: Readonly>>>; /** * A tool's brief notes. clasify sends both briefs to the judge with the * evidence, so its notes say so instead of calling them research-only. */ export declare function briefFields(toolName: string): Readonly>; /** * `queries` is the tools/list input shape (the `queries[]` envelope every * call sends); `row` is one query row, for describing a tool's row fields. */ export type PublishedView = "queries" | "row"; /** * The agent-facing view of one tool's canonical input JSON Schema (from * `z.toJSONSchema(inputSchema, { io: "input" })`). */ export declare function publishedInputSchema(toolName: string, canonical: Json, shape?: PublishedView): Json; export {};