/** * @fileoverview Tool: nws_search_alerts — searches active weather alerts across the US. * @module mcp-server/tools/definitions/search-alerts */ import { z } from '@cyanheads/mcp-ts-core'; import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors'; export declare const searchAlertsTool: import("@cyanheads/mcp-ts-core").ToolDefinition; point: z.ZodOptional; zone: z.ZodOptional; region_type: z.ZodOptional>; region: z.ZodOptional>>; event: z.ZodOptional>; severity: z.ZodOptional>>; urgency: z.ZodOptional>>; certainty: z.ZodOptional>>; status: z.ZodDefault>; limit: z.ZodDefault; cursor: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ alerts: z.ZodArray; description: z.ZodNullable; instruction: z.ZodNullable; severity: z.ZodString; urgency: z.ZodString; certainty: z.ZodString; areaDesc: z.ZodString; sent: z.ZodString; effective: z.ZodString; onset: z.ZodNullable; ends: z.ZodNullable; expires: z.ZodNullable; status: z.ZodString; messageType: z.ZodString; references: z.ZodArray>; senderName: z.ZodString; affectedZones: z.ZodArray>; }, z.core.$strip>>; }, z.core.$strip>, readonly [{ readonly reason: "mutually_exclusive_filters"; readonly code: JsonRpcErrorCode.ValidationError; readonly when: "More than one of area, point, zone, region_type, or region provided"; readonly recovery: "Provide at most one of area, point, zone, region_type, or region — they are mutually exclusive filters."; }, { readonly reason: "invalid_area_code"; readonly code: JsonRpcErrorCode.ValidationError; readonly when: "Area code is not a recognized US state, territory, or marine area"; readonly recovery: "Provide a 2-letter US state/territory code (e.g., \"WA\") or marine area code (e.g., \"GM\")."; }, { readonly reason: "invalid_point"; readonly code: JsonRpcErrorCode.ValidationError; readonly when: "Point coordinates are malformed or outside valid bounds"; readonly recovery: "Provide \"lat,lon\" with latitude -90 to 90 and longitude -180 to 180 (e.g., \"47.6,-122.3\")."; }, { readonly reason: "invalid_zone"; readonly code: JsonRpcErrorCode.ValidationError; readonly when: "Zone code does not match the NWS zone-code shape"; readonly recovery: "Provide a 2-letter state/territory or marine code, then C for a county zone or Z for a forecast zone, then 3 digits (e.g., \"WAZ558\", \"WAC033\"). Zone codes come from affectedZones in nws_search_alerts, forecastZone in nws_get_forecast, or forecastZone in nws_find_stations."; }, { readonly reason: "blank_location_filter"; readonly code: JsonRpcErrorCode.ValidationError; readonly when: "An area, point, or zone filter was provided with a blank value"; readonly recovery: "Omit the filter entirely to search nationally, or provide a real area, point, or zone value."; }, { readonly reason: "empty_filter_array"; readonly code: JsonRpcErrorCode.ValidationError; readonly when: "An event, severity, urgency, certainty, or region filter was provided with no usable entries"; readonly recovery: "Omit the filter entirely to leave it unset, or provide at least one non-blank entry."; }], { readonly totalCount: z.ZodNumber; readonly shown: z.ZodNumber; readonly appliedFilters: z.ZodString; readonly nextCursor: z.ZodOptional; readonly notice: z.ZodOptional; }>; //# sourceMappingURL=search-alerts.tool.d.ts.map