Plan a public transport trip
plan_tripPlan 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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "plan_trip"
}
}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 |