/** * @fileoverview Fetch one FEC legal document in full by type and number — the * detail counterpart to openfec_search_legal, which replaces each result's * related-filing array with a count and cuts every commission vote down to a * date and a truncated action. * @module mcp-server/tools/definitions/get-legal-document.tool */ import { z } from '@cyanheads/mcp-ts-core'; import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors'; export declare const getLegalDocument: import("@cyanheads/mcp-ts-core").ToolDefinition; no: z.ZodString; }, z.core.$strip>, z.ZodObject<{ document: z.ZodObject<{}, z.core.$loose>; search_criteria: z.ZodObject<{}, z.core.$loose>; }, z.core.$strip>, readonly [{ readonly reason: "legal_document_not_found"; readonly code: JsonRpcErrorCode.NotFound; readonly when: "No legal document exists at the requested doc_type and no"; readonly recovery: "Confirm doc_type is the plural form of the search result document_type and that no is copied from that result's no field; openfec_search_legal returns both."; }], { readonly attachedDocumentCount: z.ZodNumber; }>; //# sourceMappingURL=get-legal-document.tool.d.ts.map