ch_search_connections
Find train connections in Switzerland between stations using real-time data. Get departure times, duration, platforms, and transfer information for planning journeys.
Instructions
Search for train connections in Switzerland between two stations. Uses transport.opendata.ch API to provide real-time connection data including departure times, duration, platforms, and transfers.
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": "ch_search_connections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | ||
| destination | Yes | ||
| limit | No | ||
| date | No | ||
| time | No | ||
| is_arrival_time | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||