One ride with all stops
rmv_journeyRetrieves a ride's full route with line, operator, stops, planned and realtime times, delays, tracks, cancellations, and alerts so you can follow a train or locate where a delay begins.
Instructions
Returns one ride (a vehicle's trip) in the RMV area with line, operator, headsign, whether it is cancelled, its alerts, and every stop with planned and realtime times, delays, tracks and cancelled stops. Takes the trip_id of a departure from rmv_departures or of a leg from rmv_trip. Use it to follow a train along its route or to see where a delay starts. One request of the access key's quota (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": {
"trip_id": "<trip_id>"
},
"name": "rmv_journey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trip_id | Yes | The trip ID, from `trip_id` of a departure of `rmv_departures` or a leg of `rmv_trip`, as it is. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | No | ||
| mode | Yes | ||
| stops | Yes | ||
| alerts | No | ||
| trip_id | Yes | ||
| headsign | No | ||
| operator | No | ||
| realtime | Yes | ||
| warnings | Yes | ||
| cancelled | Yes | Whether the trip is cancelled. | |
| attribution | Yes | ||
| realtime_as_of | No | When RMV last updated its realtime data. |