Journeys from A to B
transit_journeysPlan a public transport journey anywhere in Norway with Entur, all operators: the next journeys (or arriving by a time) with times, duration, changes, walking, and each leg's mode, line, stops, platforms, real-time times and cancellations. Each end as a stop id, a stop name or coordinates.
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": "transit_journeys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | No | Norwegian local time unless an offset is given; default now. | |
| limit | No | ||
| modes | No | Only these modes, e.g. ['rail'] for train only. Default: all. | |
| origin | No | A stop place id ('NSR:StopPlace:337') or a stop's name ('Oslo S'). | |
| arrive_by | No | Treat time as the latest arrival. | |
| origin_lat | No | ||
| origin_lon | No | ||
| destination | No | ||
| destination_lat | No | ||
| destination_lon | No |