/** * @fileoverview Tool: noaa_spaceweather_get_alerts — active SWPC alerts/watches/warnings. * @module mcp-server/tools/definitions/get-alerts */ import { z } from '@cyanheads/mcp-ts-core'; import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors'; export declare const getAlerts: import("@cyanheads/mcp-ts-core").ToolDefinition; max_age_hours: z.ZodDefault; }, z.core.$strip>, z.ZodObject<{ alerts: z.ZodArray; level: z.ZodNumber; noaaScale: z.ZodNullable; cancelled: z.ZodBoolean; serialNumber: z.ZodNullable; phenomenon: z.ZodString; issueDatetime: z.ZodString; validFrom: z.ZodNullable; validTo: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; totalCount: z.ZodNumber; activeOnly: z.ZodBoolean; fetchedAt: z.ZodString; }, z.core.$strip>, readonly [{ readonly reason: "feed_unavailable"; readonly code: JsonRpcErrorCode.ServiceUnavailable; readonly when: "SWPC feed returns 5xx or 429, times out, or answers with a body that is not parseable JSON. Retried for up to 45 seconds in total before failing."; readonly retryable: true; readonly thrownBy: "service"; readonly recovery: "Retry in 30–60 seconds; SWPC feeds occasionally lag during high-activity events."; }, { readonly reason: "feed_moved"; readonly code: JsonRpcErrorCode.ServiceUnavailable; readonly when: "SWPC feed path returns a permanent 4xx (404, 410, 401, 403). Fails in one attempt."; readonly retryable: false; readonly thrownBy: "service"; readonly recovery: "Retrying will not help — the SWPC feed path no longer resolves or no longer has the expected shape; the feed URL needs updating against SWPC current inventory."; }], { readonly notice: z.ZodOptional; readonly appliedWindowHours: z.ZodOptional; readonly appliedCutoff: z.ZodOptional; readonly exclusions: z.ZodOptional>; }>; //# sourceMappingURL=get-alerts.tool.d.ts.map