Look up a Hong Kong bus route or MTR line
search_routesHong Kong bus and green minibus routes by number, and MTR lines by name or code, the same as typing one in the site's Nearby box: where each runs between, its operator, its first and last departures by day, and this site's page for it (every stop, fares, live arrivals). A number can be several routes (route 40 is Citybus, KMB and three minibus routes in different districts): all are returned, each with its ends. Special services (a supplementary or short-working run) are left out once they have no departure left today. For travelling somewhere, use plan_trip.
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": {
"query": "<query>"
},
"name": "search_routes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Only buses, green minibuses or MTR lines | |
| query | Yes | A route number or line: "40", "N21", "A21", "28M", "Island Line", "港島綫", "TWL" | |
| language | No | Language for place and line names: en, zh-HK (Traditional Chinese), zh-CN (Simplified), ja, ko | en |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| routes | Yes | Every route matching: a number names all operators' and districts' routes with it. Empty when none does |