get_trip_stops
Retrieves every stop and its arrival/departure times for a given trip ID, letting you trace a bus, tram, or train along its full route. Use trip IDs from get_departures results.
Instructions
Get the full schedule of a specific trip — all stops with arrival/departure times.
Use this to trace a bus/tram/train along its route and see when it arrives at each stop. Trip IDs can be found in get_departures output.
Args: trip_id: GTFS trip ID (e.g. '1:155_20250329_1_1'). Found in get_departures results.
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": "get_trip_stops"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trip_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |