Find rail stations
rail_station_searchSearch rail stations by Chinese or English name or nearest coordinate to retrieve station IDs, explore a rail system, find the closest station, or resolve ambiguous names.
Instructions
Stations of a rail system by name (Chinese or English) or nearest to a coordinate, with their IDs. The other rail tools accept names directly, so use this to explore, to find the nearest station, or when a name is ambiguous. Example: system "TRTC", lat 25.0478, lon 121.517; or system "TRA", keyword "新竹".
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": {
"system": "<system>"
},
"name": "rail_station_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude, to sort by distance. | |
| lon | No | Longitude, to sort by distance. | |
| limit | No | Maximum number of stations to return (default 10). | |
| system | Yes | Rail system: THSR (高鐵 high speed rail), TRA (臺鐵 Taiwan Railway), AFR (阿里山林業鐵路), or a metro: TRTC 臺北捷運 Taipei Metro, NTMC 新北捷運 (環狀線) New Taipei Metro, TYMC 桃園機場捷運 Taoyuan Airport MRT, TMRT 臺中捷運 Taichung MRT, KRTC 高雄捷運 Kaohsiung MRT, KLRT 高雄輕軌 Kaohsiung LRT, NTDLRT 淡海輕軌 Danhai LRT, NTALRT 安坑輕軌 Ankeng LRT, TRTCMG 貓空纜車 Maokong Gondola. | |
| keyword | No | Part of the station name. |