rail_departures
Fetch real-time train departures or arrivals for a UK station via its 3-letter CRS code, showing expected times, platforms, delays, cancellations, and station messages.
Instructions
Live trains leaving (or arriving at, with board="arrivals" or "both") a
station: expected times, platforms, cancellations and delay reasons from
National Rail, plus station messages. crs_code is the 3-letter code,
e.g. LDS for Leeds.
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": {
"crs_code": "<crs_code>"
},
"name": "rail_departures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| board | No | departures | |
| limit | No | ||
| crs_code | Yes | ||
| minutes_ahead | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |