Next arrivals
next_arrivalsRetrieve upcoming arrivals at a specified stop, including realtime delay information when available.
Instructions
List the next arrivals at a stop (station or platform), with realtime delays when available.
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_id": "<stop_id>"
},
"name": "next_arrivals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Max results (default 10). | |
| line_id | No | Filter to a single line ('line:...' id). | |
| stop_id | Yes | Stop id from search_places: 'stop_area:...' (station) or 'stop_point:...' (platform). | |
| from_datetime | No | ISO 8601 datetime to start from (local to the region). Defaults to now. | |
| data_freshness | No | 'realtime' (default) includes delays and cancellations; 'base_schedule' is the theoretical timetable. |