Taiwan Railway fares
tra_fareQuery Taiwan Railway single-journey fares in NT$ between two stations by train type and passenger type, including distance.
Instructions
TRA single-journey fares between two stations in NT$ per train type (自強, 莒光, 區間, ...) and passenger type, with the distance. Example: from "臺北", to "高雄".
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": {
"from": "<from>",
"to": "<to>"
},
"name": "tra_fare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Arrival TRA station: name (臺北, 台中, Hualien) or station ID (1000). | |
| from | Yes | Departure TRA station: name (臺北, 台中, Hualien) or station ID (1000). |