One ride with all stops
transitous_journeyRetrieve a vehicle trip by trip_id to follow its route and inspect line, operator, alerts, cancellations, and all stops with planned/realtime times, delays, tracks, and cancelled stops.
Instructions
Returns one ride (a vehicle's trip) 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 transitous_departures or of a leg from transitous_trip. Use it to follow a train along its route or to see where a delay starts. Counts against the limit of 20 requests per minute (answer rate_limited with retry_after_seconds); answers are cached for 60 seconds.
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": "transitous_journey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trip_id | Yes | The trip ID, from `trip_id` of a departure of `transitous_departures` or a leg of `transitous_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 |