get_road_situations
Retrieve current road incidents and disruptions on Sweden’s state roads—accidents, road works, obstacles, restrictions—filtered by county or point radius and ordered by severity and distance.
Instructions
Get current road incidents and disruptions on the Swedish state road network: accidents, road works, obstacles, restrictions and traffic messages, each with severity (code 1-5, higher is more severe), road number, location, start/end time and coordinates. Filter by county and/or by a point plus radius (latitude, longitude, radiusKm); results are ordered by severity, then distance. Message types are Swedish, e.g. "Olycka" (accident) and "Vägarbete" (road work). Use get_road_weather for measured road conditions instead. 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. lastUpdated is when Trafikverket last changed the record: an old value does not necessarily mean stale data, and it does not confirm that the data is still current. 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
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_road_situations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of situations to return (1-100) | |
| county | No | Optional county filter: Swedish county name (e.g. "Stockholm", "Västra Götaland") or code (e.g. 14) | |
| latitude | No | Optional latitude of a point to search around (use together with longitude) | |
| radiusKm | No | Search radius in kilometres around latitude/longitude (0.5-200, default 25) | |
| longitude | No | Optional longitude of a point to search around (use together with latitude) | |
| messageType | No | Optional message type filter, in Swedish as used by Trafikverket, e.g. "Olycka" (accident) or "Vägarbete" (road work) |