/** * @fileoverview Fetch details for a specific route by ID. * @module mcp-server/tools/definitions/get-route.tool */ import { z } from '@cyanheads/mcp-ts-core'; import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors'; export declare const getRoute: import("@cyanheads/mcp-ts-core").ToolDefinition, z.ZodObject<{ id: z.ZodString; shortName: z.ZodString; longName: z.ZodString; description: z.ZodString; agencyId: z.ZodString; agencyName: z.ZodString; type: z.ZodNumber; color: z.ZodNullable; url: z.ZodNullable; }, z.core.$strip>, readonly [{ readonly reason: "route_not_found"; readonly code: JsonRpcErrorCode.NotFound; readonly when: "Route ID does not exist on this instance."; readonly recovery: "Search for the route with onebusaway_find_routes or onebusaway_search_routes to get a valid ID."; 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-route.tool.d.ts.map