/** * @fileoverview Fetch full detail for a specific state bill. * @module mcp-server/tools/definitions/get-bill */ import { z } from '@cyanheads/mcp-ts-core'; import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors'; export declare const getBill: import("@cyanheads/mcp-ts-core").ToolDefinition; jurisdiction: z.ZodOptional; session: z.ZodOptional; bill_id: z.ZodOptional; include: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; identifier: z.ZodString; title: z.ZodString; session: z.ZodString; jurisdiction: z.ZodObject<{ id: z.ZodString; name: z.ZodString; }, z.core.$strip>; from_organization: z.ZodObject<{ name: z.ZodString; classification: z.ZodString; }, z.core.$strip>; classification: z.ZodArray; subject: z.ZodArray; first_action_date: z.ZodNullable; latest_action_date: z.ZodNullable; latest_action_description: z.ZodNullable; latest_passage_date: z.ZodNullable; updated_at: z.ZodOptional; openstates_url: z.ZodOptional; sponsorships: z.ZodOptional>; }, z.core.$strip>>>; actions: z.ZodOptional; order: z.ZodNumber; organization: z.ZodObject<{ name: z.ZodString; classification: z.ZodString; }, z.core.$strip>; }, z.core.$strip>>>; votes: z.ZodOptional>; votes: z.ZodArray>; }, z.core.$strip>>; }, z.core.$strip>>>; abstracts: z.ZodOptional>>; versions: z.ZodOptional>; }, z.core.$strip>>>; documents: z.ZodOptional>; }, z.core.$strip>>>; related_bills: z.ZodOptional>>; other_titles: z.ZodOptional>>; other_identifiers: z.ZodOptional>>; sources: z.ZodOptional>>; }, z.core.$strip>, readonly [{ readonly reason: "missing_lookup_params"; readonly code: JsonRpcErrorCode.ValidationError; readonly when: "Neither openstates_id nor the complete jurisdiction+session+bill_id triple was provided."; readonly recovery: "Provide either openstates_id (from openstates_search_bills results) or all three of: jurisdiction, session, and bill_id."; }, { readonly reason: "not_found"; readonly code: JsonRpcErrorCode.NotFound; readonly when: "Bill does not exist at the given path or OCD ID."; readonly recovery: "Verify the session identifier with openstates_get_jurisdiction and confirm the bill_id format matches the legislature convention (e.g., \"HB 1000\" not \"HB1000\")."; }, { readonly reason: "upstream_timeout"; readonly code: JsonRpcErrorCode.Timeout; readonly when: "Open States did not answer within the per-request timeout."; readonly recovery: "Retry the lookup once; if it repeats, request fewer include values — votes, versions, and documents each enlarge the upstream response."; }], undefined>; //# sourceMappingURL=get-bill.tool.d.ts.map