Get metro fares and travel times
get_metro_tripFare, travel time and first and last trains between two stations of the Taipei, Taoyuan Airport, Taichung or Kaohsiung metro. Data comes from CubeLV's Taiwan open data service (https://cubelv.com/en/mcp/taiwan-transit/): each call names a method and passes its arguments in args.
Methods:
metroRoute (Taiwan metro fares, travel time and first and last trains): For two stations of the Taipei, Taoyuan, Taichung or Kaohsiung metro: fares by ticket type and passenger class (including resident discounts), travel time and distance, and first and last train times at the departure station for each direction, with the directions that reach the destination marked. The system is inferred from the station names when omitted. Args: system: trtc (Taipei), tymc (Taoyuan), tmrt (Taichung) or krtc (Kaohsiung). Omit to infer from the station names.; from (required): Departure station name or ID, in any supported language.; to (required): Arrival station name or ID, in any supported language..
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": {
"method": "<method>"
},
"name": "get_metro_trip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments of the method, as listed in the tool description | |
| lang | No | Language for data labels (industries, statement items, categories) and links: en, ja, ko or vi; default en | |
| method | Yes | Method from the list in the tool description | |
| offset | No | Position in the longest list of the response to start from. A response whose list is longer than fits carries page.nextOffset for the next part; default 0 |