/** * @fileoverview Fetch the full-day block schedule for a vehicle by block ID. * @module mcp-server/tools/definitions/get-block.tool */ import { z } from '@cyanheads/mcp-ts-core'; import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors'; export declare const getBlock: import("@cyanheads/mcp-ts-core").ToolDefinition, z.ZodObject<{ blockId: z.ZodString; activeServiceIds: z.ZodArray; inactiveServiceIds: z.ZodArray; trips: z.ZodArray; dropOffType: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>, readonly [{ readonly reason: "block_not_found"; readonly code: JsonRpcErrorCode.NotFound; readonly when: "Block ID does not exist on this instance."; readonly recovery: "Obtain a blockId from onebusaway_get_trip. First call onebusaway_get_arrivals to get a tripId, then onebusaway_get_trip to retrieve the blockId."; readonly thrownBy: "service"; }, { readonly reason: "rate_limited"; readonly code: JsonRpcErrorCode.RateLimited; readonly retryable: true; readonly when: "No upstream request slot opened within the queue wait cap, or OneBusAway returned a rate limit response."; readonly recovery: "Wait the seconds given in data.retryAfter, then retry — one API key is shared across all callers, so requests queue against a global budget rather than failing per caller."; readonly thrownBy: "service"; }], undefined>; //# sourceMappingURL=get-block.tool.d.ts.map