Vehicles
vehiclesRetrieve live bus and streetcar positions by route or fleet number, including coordinates, bearing, speed, current stop, headsign, and crowding. Rail lines return unavailable; use next_trains instead.
Instructions
Live positions of the buses and streetcars on a route, or one vehicle by fleet number: coordinates, bearing, speed, current stop (public number), headsign and crowding. Rail lines (1, 2, 4, 5, 6) publish no positions and answer unavailable; use next_trains. Answers are best effort, from the TTC's BusTime GTFS-Realtime feed; historical occupancy is out of scope.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "vehicles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route | No | ||
| vehicle_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||