connections
Public transport connections from A to B: times, platforms, delays, changes, lines.
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": {
"origin": "<origin>",
"destination": "<destination>"
},
"name": "connections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| via | No | Up to two stations the journey must pass. | |
| date | No | YYYY-MM-DD; today if left out. | |
| time | No | hh:mm, Swiss local time; now if left out. | |
| limit | No | Number of connections. | |
| origin | Yes | Start: station name or id, address or place. | |
| arrive_by | No | True if `time` is the latest arrival rather than departure. | |
| destination | Yes | Destination, like origin. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |