plan_tripPlan a transit trip. Uses Wheels Router for Hong Kong and Transitous for other regions. IMPORTANT: fares_min/fares_max are fare ranges, NOT interchange discounts. Interchange discounts (轉乘優惠) only apply when FareDiscountRules are explicitly present in the API response, and IT ONLY APPLIES TO CERTAIN ROUTES.Input schema{
"type": "object",
"properties": {
"origin": {
"type": "string",
"minLength": 3,
"description": "Required. Starting point as 'lat,lon' or 'stop:ID'. Use coordinates or stop IDs only."
},
"destination": {
"type": "string",
"minLength": 3,
"description": "Required. Destination as 'lat,lon' or 'stop:ID'. Use coordinates or stop IDs only."
},
"depart_at": {
"type": "string",
"format": "date-time",
"description": "Optional ISO 8601 departure time (UTC preferred)."
},
"arrive_by": {
"type": "string",
"format": "date-time",
"description": "Optional ISO 8601 arrival deadline (UTC preferred)."
},
"modes": {
"type": "string",
"description": "Optional comma-separated modes (e.g. 'mtr,bus,ferry'). Only set if needed."
},
"max_results": {
"type": "integer",
"minimum": 1,
"maximum": 5,
"description": "Optional cap on returned plans (1-5). Defaults to API behavior."
}
},
"required": [
"origin",
"destination"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
search_locationSearch locations via Nominatim (use for origin/destination lookup).Input schema{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 2,
"description": "Free-text place search. Example: 'Yau Tong MTR Exit A2' or 'Tokyo Station'."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 10,
"default": 5,
"description": "How many results to return (1-10)."
}
},
"required": [
"query"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |