Find public transport connections
get_connectionsFind next Swiss train, bus, tram or boat connections between stations or addresses, with platforms, delays, transfers and per-leg details.
Instructions
Find the next train/bus/tram/boat connections between two Swiss stations or addresses, with platforms, delays, transfers and per-leg details.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"from": "<from>",
"to": "<to>"
},
"name": "get_connections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination station or address, e.g. 'Lugano' | |
| via | No | Optional via station | |
| date | No | Date YYYY-MM-DD (default: today) | |
| from | Yes | Origin station or address, e.g. 'Zürich HB' | |
| time | No | Time HH:MM (default: now) | |
| limit | No | ||
| is_arrival_time | No | If true, date/time is the desired arrival time |