Swiss public transport connections (SBB/CFF/FFS)
ch_connectionsJourneys between two places in Switzerland by train, bus, tram or boat (SBB/CFF/FFS, PostBus and all Swiss operators): departure and arrival times, platforms, transfers, live delays. Use when: someone needs to travel by public transport in Switzerland (e.g. Zürich to Geneva). Example: {"from":"Zürich HB","to":"Genève"}
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": "ch_connections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Arrival station or stop | |
| date | No | Optional day, YYYY-MM-DD (Swiss time). Default: today | |
| from | Yes | Departure station or stop (Zürich HB, Genève, Lausanne, Bern, Basel SBB, Lugano…) | |
| time | No | Optional time HH:MM (Swiss time). Default: now | |
| results | No | ||
| time_is | No | departure |