실시간 버스 도착 정보
get_bus_arrivalsQuery upcoming bus arrivals at a Korean stop by city and stop ID, optionally filter by route, and return minutes remaining and stops away.
Instructions
정류소에 도착 예정인 버스를 도착이 빠른 순으로 조회합니다. nodeId는 search_bus_stops 결과에서 얻습니다. routeId를 주면 해당 노선만 조회합니다. arrivalMin은 남은 시간(분, 반올림), stopsAway는 몇 정류장 전인지입니다. arrivingSoon이 true이면 1분 이내이므로 분 대신 '곧 도착'으로 안내하세요. 결과가 비어 있으면 현재 운행 중인 도착 예정 버스가 없는 것입니다.
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": {
"cityCode": "<cityCode>",
"nodeId": "<nodeId>"
},
"name": "get_bus_arrivals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | 정류소 ID. search_bus_stops 등에서 얻음. 예: 'DJB8001378' | |
| routeId | No | 특정 노선 ID (선택) | |
| cityCode | Yes | list_cities로 얻은 도시 코드. 예: 25(대전) |