Get arrivals
get_arrivalsGet arrivals for a stop or station within a time window, ordered by arrival time with line, origin, platform, realtime delay, and trip ID. Use a stop ID from find_stations.
Instructions
The arrivals board of a stop/station in a time window: line, origin, platform, realtime delay and the tripId of each vehicle run (for get_trip), ordered by arrival time. Large stations include related stops of the same hub; each entry's stop is the exact stop/platform. Disruption notices are listed once in alerts; entries refer to them by index. Use find_stations first if you only have a name. Times are ISO 8601 in each station's local time with its UTC offset; stops carry their IANA tz (none = German time). Delays in seconds (positive = late). Planned values equal to realtime ones and empty fields are omitted. Results: JSON, then "Hints:" (situational advice; attribution, credit once).
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": {
"stopId": "<stopId>"
},
"name": "get_arrivals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| when | No | Start of the time window, ISO 8601 with UTC offset (e.g. 2026-11-14T08:00+01:00); default now. Use the UTC offset valid at the station's location on that date (Germany: +01:00 in winter, +02:00 in summer). | |
| stopId | Yes | Stop/station id from find_stations - not a name. | |
| results | No | Maximum number of arrivals (1-100, default 20); `moreAvailable: true` in the result means the window holds more. | |
| duration | No | Window length in minutes after `when` (1-720, default 30). | |
| products | No | Only arrivals using these kinds of transport (default: all). `bus` = local buses, `coach` = long-distance buses, `taxi` = on-demand services. |