/** * @fileoverview Legal document search tool — search FEC advisory opinions, * enforcement cases (MURs), alternative dispute resolutions, administrative * fines, and statutes. * @module mcp-server/tools/definitions/search-legal.tool */ import { z } from '@cyanheads/mcp-ts-core'; import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors'; export declare const searchLegal: import("@cyanheads/mcp-ts-core").ToolDefinition; type: z.ZodOptional>; ao_number: z.ZodOptional; case_number: z.ZodOptional; respondent: z.ZodOptional; regulatory_citation: z.ZodOptional; statutory_citation: z.ZodOptional; min_penalty_amount: z.ZodOptional; max_penalty_amount: z.ZodOptional; date_kind: z.ZodOptional>; min_date: z.ZodOptional; max_date: z.ZodOptional; from_hit: z.ZodDefault; hits_returned: z.ZodDefault; }, z.core.$strip>, z.ZodObject<{ results: z.ZodArray>; total_count: z.ZodNumber; search_criteria: z.ZodObject<{}, z.core.$loose>; }, z.core.$strip>, readonly [{ readonly reason: "missing_filter"; readonly code: JsonRpcErrorCode.ValidationError; readonly when: "Called without any scoping filter at all"; readonly recovery: "Provide at least one of: query, type, ao_number, case_number, respondent, regulatory_citation, statutory_citation, a penalty bound (min_penalty_amount / max_penalty_amount), or a date bound with its type and date_kind."; }, { readonly reason: "date_filter_incomplete"; readonly code: JsonRpcErrorCode.ValidationError; readonly when: "min_date or max_date given without both a type and a date_kind, or a date_kind given with neither bound"; readonly recovery: "Send min_date and/or max_date together with type and date_kind — upstream date parameters are named per document type and per date kind, so both are needed to pick one."; }, { readonly reason: "date_kind_not_valid_for_type"; readonly code: JsonRpcErrorCode.ValidationError; readonly when: "The requested date_kind is not a date this document type records"; readonly recovery: "Pick a date_kind the type records: advisory_opinions has issue_date, request_date, document_date; murs and adrs have open_date, close_date, document_date; admin_fines has rtb_date and fd_date; statutes are not date-filterable."; }], { readonly totalCount: z.ZodNumber; readonly notice: z.ZodOptional; readonly retrievalHint: z.ZodOptional; }>; //# sourceMappingURL=search-legal.tool.d.ts.map