disruptions
Retrieve current and upcoming SNCF service alerts for a station or line, or network-wide when no IDs are provided. Returns an empty list if none exist.
Instructions
Current and upcoming disruptions for a station (id from find_station) or a line id (station_id wins when both are given); without arguments, network-wide. Built from the SNCF GTFS-RT service alerts feed (transport.data.gouv.fr, open licence), with the SNCF API as fallback when the feed has nothing. Empty list when there are none; if the feed is down and the API has nothing, a single item with a warning.
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": "disruptions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line_id | No | ||
| station_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |