alerts
Retrieve active service alerts including planned works, delays, detours, and stop closures. Identify disruptions affecting your route or stop.
Instructions
List active service alerts (planned works, delays, detours, stop closures). Use this for 'is the tram line broken?', 'any works today?', 'why is my bus late?'.
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": "alerts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum alerts to return (default 100). | |
| stop_id | No | Only alerts affecting this stop. | |
| route_id | No | Only alerts affecting this route. |