plan_trip
Plan a public transport journey between two places using place names, addresses, or stop IDs. Choose departure/arrival time, live delays, wheelchair access, and detail level.
Instructions
Plan a public transport journey between two places.
Prefer passing plain place names as `origin` and `destination` — addresses,
stations, suburbs and landmarks all work, and the server resolves them
itself. You do NOT need to call find_stop or best_stop first; doing so costs
two extra round trips for no benefit. Use `origin_id`/`destination_id` only
when you already hold a stop ID from an earlier call.
Args:
origin: Place to depart from, e.g. "100 Harris Street Pyrmont" or
"Circular Quay". Resolved server-side.
destination: Place to arrive at, e.g. "32 Geelong Rd Engadine".
origin_id: Stop ID to depart from. Alternative to `origin`, not both.
destination_id: Stop ID to arrive at. Alternative to `destination`.
when: Optional ISO 8601 date/time, e.g. "2026-08-30T09:15". Without an
offset this is Sydney local time. Defaults to now.
arrive_by: Treat `when` as the desired arrival time instead of departure.
origin_type: Kind of the origin ID. Leave as "any", which resolves stops,
addresses and POIs alike; "stop" rejects address IDs and returns
nothing for them.
destination_type: Kind of the destination ID. Leave as "any".
realtime: Include live delay information.
wheelchair: Return only wheelchair-accessible journeys.
detail: How much to return per journey. "answer" gives only departure,
arrival, duration, changes and the mode summary — use it for "when
do I get there" and "how long does it take", which is most questions.
"summary" (default) adds the legs, each with its times, route,
platform and any alerts. "stops" adds intermediate stop names.
"full" adds the map polyline and is very large — pair it with
max_results=1 or 2 or the call may exceed the client's size limit.
max_results: Maximum journeys to return.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| when | No | ||
| detail | No | summary | |
| origin | No | ||
| realtime | No | ||
| arrive_by | No | ||
| origin_id | No | ||
| wheelchair | No | ||
| destination | No | ||
| max_results | No | ||
| origin_type | No | any | |
| destination_id | No | ||
| destination_type | No | any |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||