Tfnsw Trip Plan
tfnsw_trip_planPlan a public-transport journey anywhere in New South Wales, door to door, multi-leg, with every change, walking leg, line and departure/arrival time. AUTHORITATIVE for "how do I get from A to B on Sydney transport"; uses the same engine as the official TfNSW trip planner.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"origin": "200060",
"destination": "200070"
},
"name": "tfnsw_trip_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| when | No | Optional ISO date-time of departure (e.g. "2026-09-18T08:30"). Defaults to now. | |
| origin | Yes | Origin, a stop id (e.g. "200060"), or a "longitude:latitude:EPSG:4326" coordinate. | |
| _apiKey | No | Transport for NSW API key. Free from https://opendata.transport.nsw.gov.au/. | |
| arrive_by | No | Treat `when` as the desired ARRIVAL time instead of departure. | |
| destination | Yes | Destination, in the same form as origin. | |
| origin_type | No | 'stop' (default), 'coord', 'any', how to read `origin`. | |
| destination_type | No | 'stop' (default), 'coord', 'any'. |