Departures at a stop
rmv_departuresLists next departures or arrivals at a stop in the RMV area with realtime times, delays, tracks, cancellations, and alerts, so you can see what leaves soon.
Instructions
Lists the next departures, or with arrivals the arrivals, at one stop in the RMV area from time on: each with mode, line, operator, headsign, planned and realtime time, delay, track, cancellation of the stop or the whole ride, and alerts, and the trip_id for rmv_journey. Use it for what leaves a stop soon; to get from A to B with transfers use rmv_trip, for all stops of one ride rmv_journey. page_cursor.later of the result pages on. Each call costs one request of the access key's quota, and one more for a stop given by name (answer rate_limited with retry_after_seconds when it is used up).
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": "rmv_departures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stop | Yes | The stop: its ID like `3000010`, or a name that fits one stop. | |
| time | No | From this time: RFC 3339 with an offset, or HH:MM today or a local time like 2026-11-28T07:50 in Europe/Berlin. Default now. | |
| count | No | How many departures to ask for, up to 100. Default 10. The API can return more, like all that leave in the same minute. | |
| modes | No | Only these modes, like `["suburban", "bus"]`. | |
| arrivals | No | Arrivals instead of departures. | |
| page_cursor | No | The next page: `page_cursor.later` of the previous result, with the same other arguments. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stop | Yes | ||
| arrivals | Yes | Whether these are arrivals instead of departures. | |
| warnings | Yes | ||
| departures | Yes | ||
| attribution | Yes | ||
| page_cursor | Yes | ||
| realtime_as_of | No | When RMV last updated its realtime data. |