/** * @fileoverview Fetch full detail for a service alert by situation ID. * @module mcp-server/tools/definitions/get-alert.tool */ import { z } from '@cyanheads/mcp-ts-core'; import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors'; export declare const getAlert: import("@cyanheads/mcp-ts-core").ToolDefinition, z.ZodObject<{ id: z.ZodString; summary: z.ZodString; description: z.ZodNullable; reason: z.ZodNullable; severity: z.ZodNullable; consequenceMessage: z.ZodNullable; affects: z.ZodArray; routeId: z.ZodOptional; stopId: z.ZodOptional; tripId: z.ZodOptional; }, z.core.$strip>>; consequences: z.ZodArray; diversionStopIds: z.ZodOptional>; }, z.core.$strip>>; activeWindows: z.ZodArray; to: z.ZodOptional; }, z.core.$strip>>; url: z.ZodNullable; }, z.core.$strip>, readonly [{ readonly reason: "situation_not_found"; readonly code: JsonRpcErrorCode.NotFound; readonly when: "Situation ID does not exist on this instance."; readonly recovery: "Obtain situation IDs from onebusaway_get_arrivals — they appear in situations[].id and arrivals[].situationIds."; 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-alert.tool.d.ts.map