Get Observation
get_observationLatest observation from a specific NWS weather station. Returns temperature, humidity, wind, visibility, pressure, and present-weather codes.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"station_id": "KSFO"
},
"name": "get_observation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| station_id | Yes | 4-character NWS / ICAO station ID (e.g., "KSFO", "KJFK", "KDEN") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timestamp | No | Observation time ISO 8601 | |
| conditions | No | Current weather conditions | |
| dewpoint_c | No | Dewpoint in Celsius | |
| station_id | Yes | 4-char station ID (ICAO) | |
| pressure_pa | No | Barometric pressure in Pa | |
| heat_index_c | No | Heat index in Celsius | |
| humidity_pct | No | Relative humidity percentage | |
| visibility_m | No | Visibility in meters | |
| wind_chill_c | No | Wind chill in Celsius | |
| temperature_c | No | Temperature in Celsius | |
| temperature_f | No | Temperature in Fahrenheit | |
| wind_gust_mph | No | Wind gust in mph | |
| wind_speed_mph | No | Wind speed in mph | |
| wind_direction_deg | No | Wind direction in degrees | |
| sea_level_pressure_pa | No | Sea level pressure in Pa |