get_arrivals
Fetch upcoming train arrivals for a TfL station using its station ID. Get the station ID from get_station_info first, then pass it with an optional line filter.
Instructions
Get next train arrivals at a station. NOTE: First call get_station_info to get the stationId, then pass that ID here. Do not pass the station name directly.
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": {
"stationId": "<stationId>"
},
"name": "get_arrivals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | No | Optional: filter by line e.g. elizabeth, dlr, central | |
| stationId | Yes | TfL station ID — get this from get_station_info first |