get_connections
Find train and bus connections between two locations in Switzerland, optionally for a specific date, time, or arrival time, and limit the number of results.
Instructions
Train/bus connections between two locations
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 | Station or address | |
| date | No | YYYY-MM-DD, default: today | |
| from | Yes | Station or address | |
| time | No | HH:MM, default: now | |
| limit | No | 1-16, default: 4 | |
| isArrivalTime | No | Treat time as arrival time |