get_live_buses_on_route
Retrieve real-time bus locations for a specific operator and route, with optional stop, vehicle, and bounding-box filters to narrow results.
Instructions
Get real-time bus locations for a specific operator and route. Filters are applied server-side by the BODS datafeed, shrinking payloads.
Parameters: operator_ref: Operator NOC code (e.g. ARBB, SCCM, CBBH). line_ref: Route number (e.g. 12, MK1, 100). origin_ref: Optional origin stop ref filter. destination_ref: Optional destination stop ref filter. vehicle_ref: Optional single-vehicle filter. bounding_box: Optional filter "minLon,minLat,maxLon,maxLat" (WGS84).
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": {
"operator_ref": "<operator_ref>",
"line_ref": "<line_ref>"
},
"name": "get_live_buses_on_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line_ref | Yes | ||
| origin_ref | No | ||
| vehicle_ref | No | ||
| bounding_box | No | ||
| operator_ref | Yes | ||
| destination_ref | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |