Bus stops nearby
bus_stops_nearbyFind bus stops nearest a latitude and longitude, returning each stop's heading and city bus and InterCity coach routes. Use the stop and route with bus_eta to get live arrivals.
Instructions
Bus stops nearest to a coordinate, each with its heading and the city bus and InterCity coach routes that stop there, nearest first. Pass a stop and route to bus_eta for live arrivals. Example: lat 25.0478, lon 121.517, city "Taipei".
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": {
"lat": "<lat>",
"lon": "<lon>",
"city": "<city>"
},
"name": "bus_stops_nearby"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude (WGS84), e.g. 25.0478. | |
| lon | Yes | Longitude (WGS84), e.g. 121.517. | |
| city | Yes | City the point is in: a TDX code (Taipei, NewTaipei, Taoyuan, Taichung, Tainan, Kaohsiung, Keelung, Hsinchu, HsinchuCounty, MiaoliCounty, ChanghuaCounty, NantouCounty, YunlinCounty, ChiayiCounty, Chiayi, PingtungCounty, YilanCounty, HualienCounty, TaitungCounty, KinmenCounty, PenghuCounty, LienchiangCounty) or its Chinese name (臺北市, 新北市, ...). InterCity coach stops are always included. | |
| limit | No | Maximum number of stops to return (default 10). | |
| radiusMeters | No | Search radius in metres (default 300). |