get_next_bus
Retrieve the next bus arrival time for a specific route and stop using real-time KMB Bus data. Input the route number and stop name to get accurate ETA information.
Instructions
Get the next arrival time for a specified bus route at a stop.
Args:
route: The bus route number (e.g., "1A", "6", "960")
stop_name: The name of the bus stop
Input Schema
Name | Required | Description | Default |
---|---|---|---|
route | Yes | ||
stop_name | Yes |
Input Schema (JSON Schema)
{
"properties": {
"route": {
"title": "Route",
"type": "string"
},
"stop_name": {
"title": "Stop Name",
"type": "string"
}
},
"required": [
"route",
"stop_name"
],
"title": "get_next_busArguments",
"type": "object"
}