get_departures_board
Retrieve upcoming scheduled bus departures for a stop, optionally filtered by day or start time, to build a departures board and plan trips.
Instructions
Get the next scheduled departures at a stop (a departures board).
Parameters: stop: Stop (NaPTAN code or name). day: Optional day filter: mon, tue, wed, thu, fri, sat, sun. Defaults to today. from_time: Optional start time HH:MM (24h). Defaults to now. limit: Max departures to return (1-50, default 20).
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": {
"stop": "<stop>"
},
"name": "get_departures_board"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | No | ||
| stop | Yes | ||
| limit | No | ||
| from_time | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |