Get departures
get_departuresUse for 'which platform' and 'what is leaving' questions at a station. Returns the next departures with the platform if it has been released, otherwise a prediction with confidence that never exceeds the measured accuracy of its group and can be lower. The typical percentage is the measured accuracy in the nearest estimated time-to-release group for that station, shown only when the group has at least 30 results. Each train has a status: due_now means its expected time has passed with no recorded departure, and platform_withdrawn means an announced platform was withdrawn and no number is shown. Absent fields mean unknown. Departed trains are hidden unless include_departed is true, and trains more than 15 minutes past their expected time with no departure are dropped. Times are London local with offset. Filter by operator, destination or window_min. A long board is shortened with a note saying how many trains are not shown; narrow with window_min, operator or destination. Read only. Predictions are unofficial and may be wrong. Station screens are the official source.
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_departures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| station | No | Station code, for example EUS or PAD. Default EUS. Call list_stations to see which are live. | |
| operator | No | Partial name or short form, for example Avanti or LNR. | |
| window_min | No | Minutes ahead, from 1 to 90. Default 90. | |
| destination | No | Substring or station code, for example MAN. | |
| include_departed | No | true also returns trains with a recorded actual departure. |