/** * @fileoverview Tool: nws_get_observations — retrieves current weather observations. * @module mcp-server/tools/definitions/get-observations */ import { z } from '@cyanheads/mcp-ts-core'; import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors'; export declare const getObservationsTool: import("@cyanheads/mcp-ts-core").ToolDefinition; longitude: z.ZodOptional; station_id: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ stationId: z.ZodString; stationName: z.ZodString; timestamp: z.ZodString; timeZone: z.ZodNullable; textDescription: z.ZodString; temperatureC: z.ZodNullable; dewpointC: z.ZodNullable; windSpeedKmh: z.ZodNullable; windDirectionDeg: z.ZodNullable; windGustKmh: z.ZodNullable; barometricPressurePa: z.ZodNullable; visibilityM: z.ZodNullable; relativeHumidityPct: z.ZodNullable; heatIndexC: z.ZodNullable; windChillC: z.ZodNullable; cloudLayers: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>, readonly [{ readonly reason: "missing_input"; readonly code: JsonRpcErrorCode.ValidationError; readonly when: "Neither station_id nor a (latitude, longitude) pair was provided"; readonly recovery: "Provide either station_id or both latitude and longitude."; }, { readonly reason: "blank_station_id"; readonly code: JsonRpcErrorCode.ValidationError; readonly when: "station_id was provided with a blank value"; readonly recovery: "Omit station_id to resolve the nearest station from coordinates, or provide a real station ID (e.g., \"KSEA\"). Use nws_find_stations to discover station IDs."; }, { readonly reason: "station_not_found"; readonly code: JsonRpcErrorCode.NotFound; readonly when: "Station ID does not exist in the NWS network"; readonly recovery: "Use nws_find_stations to discover valid station IDs near a coordinate."; readonly thrownBy: "service"; }, { readonly reason: "no_observations"; readonly code: JsonRpcErrorCode.NotFound; readonly when: "Station has no recent observations available"; readonly recovery: "Try a different station — use nws_find_stations to find alternatives nearby."; readonly thrownBy: "service"; }, { readonly reason: "no_stations_nearby"; readonly code: JsonRpcErrorCode.NotFound; readonly when: "No observation stations exist near the requested coordinates"; readonly recovery: "Try a different location or broaden the search by moving inland."; readonly thrownBy: "service"; }, { readonly reason: "out_of_scope"; readonly code: JsonRpcErrorCode.ValidationError; readonly when: "Coordinates fall outside US National Weather Service coverage"; readonly recovery: "Provide coordinates within US states, territories, or adjacent marine areas."; readonly thrownBy: "service"; }], { readonly station: z.ZodString; readonly observedAt: z.ZodString; readonly notice: z.ZodOptional; }>; //# sourceMappingURL=get-observations.tool.d.ts.map