get_road_weather
Retrieve measured road weather from nearby Trafikverket stations for a given point, including air and road surface temperature, grip, ice, snow, water, wind, and precipitation.
Instructions
Get measured road weather from Trafikverket's roadside stations nearest to a point: air temperature (°C), humidity (%), dew point (°C), visibility (m), wind speed (m/s) and direction (degrees), road surface temperature (°C), grip, ice/snow/water on the road, and precipitation and wind over the last 10 minutes. These are actual observations, not a forecast; use a forecast source such as SMHI for future weather. Samples can be up to 2 hours old, so check each station's ageMinutes (its age at fetchedAt). fetchedAt is when this server got the response from Trafikverket; the result does not refresh afterwards, so call the tool again if fetchedAt is old. Returns an error result (isError: true) if TRAFIKVERKET_API_KEY is missing/invalid or the Trafikverket API is unreachable. Coverage: Sweden only (Trafikverket data).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"latitude": "<latitude>",
"longitude": "<longitude>"
},
"name": "get_road_weather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of nearest stations to return (1-20, default 3) | |
| latitude | Yes | Latitude of the point to find road weather stations near | |
| radiusKm | No | Search radius in kilometres (1-100, default 25) | |
| longitude | Yes | Longitude of the point to find road weather stations near |