Swisstransport Search Stations
swisstransport_search_stationsSearch for Swiss public transport stations (train, bus, tram) by name query.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "Zurich HB"
},
"name": "swisstransport_search_stations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Station name to search for (e.g., "Zurich HB", "Bern", "Geneva"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of stations returned | |
| stations | Yes | List of matching stations |