transport_trip_plan
Plan a public transport journey between two locations in Switzerland. Returns trip options with transfers, durations, and modes.
Instructions
Plan a journey between two locations in Switzerland.
Works like the SBB app: enter origin and destination (stop IDs or place names), get multiple trip options with transfers, durations, and transport modes.
For best results, use stop IDs from transport_search_stop. Place names (addresses) also work but may be slower.
Returns: Trip options, each with legs (individual journey segments), total duration, number of transfers, and transport modes used.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| count | No | ||
| trips | No | ||
| origin | No | ||
| message | No | ||
| destination | No |