Bay511 Vehicles
bay511_vehiclesWhere one Bay Area operator's vehicles are right now, position, bearing, the line and trip each is running, and its next stop. AUTHORITATIVE for live fleet position; use bay511_stop_predictions instead when the question is about a specific stop.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agency": "SF"
},
"name": "bay511_vehicles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | No | Optional: only vehicles on this line/route id. | |
| limit | No | Max vehicles to return (default 100). | |
| agency | Yes | Operator code from bay511_operators (e.g. "SF", "BA", "CT"). | |
| _apiKey | No | 511 SF Bay API key. Free from https://511.org/open-data/token. |