get_bus_schedule
Get upcoming bus departures for a route, stop, or both.
Returns the next departures from now (future only for today).
Provide at least route_number or stop_id. Get stop_id from
get_nearest_bus_stop, route_number from get_bus_routes.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_bus_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Date in YYYY-MM-DD format (default: today). | |
| limit | No | Max departures to return. Use 0 for full day schedule. | |
| stop_id | No | Bus stop ID (obtain from get_nearest_bus_stop). | |
| direction | No | Filter by destination name, e.g. 'Kópavogur', 'Mjódd', 'Eiðistorg'. | |
| from_time | No | Start time filter in HH:MM format (default: now). | |
| route_number | No | Route number, e.g. '1', '6', '15'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||