plan_journey
Plan public transport journeys between two points with walking, fares, and live bus positions; set departure or latest arrival times. Coverage: South/West Yorkshire and West Sussex.
Instructions
Public transport journeys between two points, with walking, fares and live
positions of buses already running. datetime is ISO 8601 (default now);
arrive_by treats it as the latest arrival. Currently covers South and West
Yorkshire and West Sussex: elsewhere it returns 422 outside_coverage, which
means not covered rather than no route.
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": {
"from_lat": "<from_lat>",
"from_lon": "<from_lon>",
"to_lat": "<to_lat>",
"to_lon": "<to_lon>"
},
"name": "plan_journey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| to_lat | Yes | ||
| to_lon | Yes | ||
| datetime | No | ||
| from_lat | Yes | ||
| from_lon | Yes | ||
| arrive_by | No | ||
| include_steps | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |