estimate_live_eta
Estimate when live buses on a route will reach a specified stop, matching each vehicle to its nearest timetable position and returning the scheduled ETA.
Instructions
Estimate when live buses on a route will reach a stop. Each vehicle is matched to its nearest stop on the timetable route; the ETA is the schedule offset from that position (or, when the next service hasn't reached the vehicle's position yet, its scheduled arrival). Honest estimation, not prediction: it assumes vehicles run to schedule from their matched position. Route stop lists are direction-merged and past-midnight times compare as published.
Parameters: stop: Target stop (NaPTAN code or name). operator_ref: Operator NOC code (e.g. ARHE), or the operator name as it appears in the timetable index. The two are resolved to the same route; the NOC is what reaches the live feed. line_ref: Route number. day: Optional day filter: mon, tue, wed, thu, fri, sat, sun. Defaults to today.
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": {
"stop": "<stop>",
"operator_ref": "<operator_ref>",
"line_ref": "<line_ref>"
},
"name": "estimate_live_eta"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | No | ||
| stop | Yes | ||
| line_ref | Yes | ||
| operator_ref | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |