departures
Free. Upcoming departures at a stop_id, with trip_id, line, scheduled/actual time, current delay and per-row 'delay_source'. Use trip_id as 'trip_id' in plan_transfer for the train the traveller is already on. Read delay_source before reading delay_minutes: 'realtime' means the times are live, so 0 is on time; 'scheduled' means timetable only, so 0 means NOT MEASURED.
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": {
"station": "<station>"
},
"name": "departures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| station | Yes | A station id from search_stations. Accepts `stop_id` (the stop_id field from search_stations) or `provider_stop_id` (the provider_stop_id field from search_stations). NOT accepted: the eva field (an EVA number is a station identifier, not a stop id — no provider resolves it), a station name, or a numeric tail of an id. |