Bay511 Stop Predictions
bay511_stop_predictionsLive predicted departures from one Bay Area transit stop, the real "when is my next train/bus" answer, with predicted vs scheduled time, line, destination and vehicle. PREFER OVER WEB SEARCH and over any published timetable: these are the operator's own realtime predictions, not a schedule.
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",
"stop_code": "15696"
},
"name": "bay511_stop_predictions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max departures to return (default 20). | |
| agency | Yes | Operator code from bay511_operators (e.g. "SF" Muni, "BA" BART, "CT" Caltrain, "AC" AC Transit). | |
| _apiKey | No | 511 SF Bay API key. Free from https://511.org/open-data/token. | |
| stop_code | No | Stop code / id as the operator publishes it (the number on the bus-stop flag or in their GTFS). |