Plan a journey
plan_journeyPlan London journeys between two places and compare route options by time, changes, and cost, including known delays, closures, diversions, and access issues on each leg.
Instructions
Route options between two London places with every known issue on each leg, now or for a later time. from and to take a station name, postcode, address or lat,lon directly. Options span time, changes and cost: fastest, fewest changes and cheapest are labelled; ask preferences optimise cheapest or fewest_changes when the traveller wants those. Each leg already carries its closures, delays, diversions in that direction, lift faults, road works and crowding, so there is no need to check its lines or stations separately; a leg with no issues has none known, unless it is status_unknown or unavailable_feeds names a feed that could not be read. Read an issue's text: it may apply only at some hours or stops. Times are ISO 8601; without an offset they are London time. Give arrive_by for a calendar event (its start minus your buffer). Send only places and times, never event titles, attendees or notes.
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": "<from>",
"to": "<to>"
},
"name": "plan_journey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | as from; for a calendar event, the venue | |
| via | No | optional place to pass through, as from | |
| from | Yes | station or stop id or name, UK postcode, street address or lat,lon (preferred when known) | |
| detail | No | leave unset (concise) unless the user asks for every stop; detailed is much longer | |
| arrive_by | No | ISO 8601; with depart_at too, both bound the trip | |
| depart_at | No | ISO 8601, London time without an offset; default now | |
| max_options | No | options to return, 1 to 6 (default 4); the fastest, fewest-changes and cheapest bests can exceed it | |
| preferences | No | the traveller's preferences; nothing is remembered between calls |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| notes | No | ||
| notice | No | ||
| applied | Yes | ||
| options | Yes | ||
| confidence | Yes | ||
| attribution | Yes | ||
| retrieved_at | Yes | ||
| assumed_places | Yes | ||
| unavailable_feeds | No | feeds that could not be read: missing issues from them does not mean there are none | |
| valid_for_minutes | Yes |