Live departures
get_departuresFetch upcoming live departures for a London stop or station using its ID, soonest first, with optional filters by line or destination.
Instructions
Next live departures at a London stop or station, soonest first: pass the id from find_places, and narrow with line (a line id such as northern or 133) or towards (part of a destination).
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": {
"stop": "<stop>"
},
"name": "get_departures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | No | only this line id, e.g. northern, elizabeth, 133 | |
| stop | Yes | stop or station id from find_places | |
| limit | No | most departures to return, 1 to 20 (default 8) | |
| towards | No | only departures whose destination contains this text |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | why there are no departures | |
| confidence | Yes | ||
| departures | Yes | ||
| attribution | Yes | ||
| retrieved_at | Yes | ||
| valid_for_minutes | Yes |