get_approach_for_route
Retrieve real-time bus approach and position details for a route, showing latest stop passages and current bus locations. Query by route code to see active service.
Instructions
Get real-time bus approach and position information for a route.
Provides both historical data (latest bus passages at stops) and current position data for buses actively running on the route.
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": {
"route_code": "<route_code>"
},
"name": "get_approach_for_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route_code | Yes | The route code (keito) to query (e.g., "1123002"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bus_stops | Yes | 通過時間を含む、系統のバス停のリスト | |
| bus_positions | Yes | 現在走行中のバスの位置のリスト |