Plan a public transport trip
plan_tripPlan point-to-point public transport journeys in Norway using stop IDs or coordinates. Set departure or arrival times, filter by transport modes, and get realtime trip patterns with durations.
Instructions
Plan a point-to-point public transport journey in Norway (Entur JourneyPlanner). Give each endpoint either as a Stop Place ID or as coordinates. Optionally set a departure or arrival time, filter transport modes, and set walk speed. Returns trip patterns with legs, modes, durations, and realtime times.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_place | No | Destination Stop Place ID | |
| arrive_by | No | If true, date_time is the desired arrival time instead of departure time | |
| date_time | No | ISO 8601 time, e.g. '2026-08-24T09:00:00+02:00'. Defaults to now. | |
| from_place | No | Origin Stop Place ID (from resolve_stop_place) | |
| walk_speed | No | Walking speed in metres per second (default ~1.3) | |
| to_latitude | No | Latitude in decimal degrees (WGS84) | |
| to_longitude | No | Longitude in decimal degrees (WGS84) | |
| from_latitude | No | Latitude in decimal degrees (WGS84) | |
| from_longitude | No | Longitude in decimal degrees (WGS84) | |
| transport_modes | No | Restrict to these transit modes, e.g. ['bus','tram']. Omit for all modes. | |
| num_trip_patterns | No | How many alternative trips to return |