Get bus arrival estimates
get_bus_arrivalsEstimated arrival times of a city or intercity bus route at each stop, or at one stop. 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:
busArrivals (Taiwan bus arrival estimates): Estimated arrival minutes and status (arriving soon, not yet departed, last bus has passed and so on) at every stop of one city bus or intercity bus route in Taiwan, ordered by direction and stop sequence. Can be narrowed to one stop or direction. Refreshes every 30 seconds. Args: city (required): City or county in Chinese, English, Japanese, Korean or Vietnamese (for example Taipei, Kaohsiung), or intercity for intercity and highway buses.; route (required): Route name as posted in Chinese characters or digits, for example 307.; stop: Only stops whose name matches, in any supported language.; direction: 0 for outbound or 1 for return. Omit for both..
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_bus_arrivals"
}
}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 |