Routes for a city
get_routes_for_cityList the connections that currently have upcoming trips from and/or to a city, with the next departure. Use this to answer 'Where can I go from Lviv?' before searching a specific date.
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": {
"city": "<city>"
},
"name": "get_routes_for_city"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | City name, e.g. 'Kyiv', 'Zürich'. | |
| language | No | Language for city and stop names: 'de' German (default) or 'uk' Ukrainian. | |
| direction | No | Connections FROM the city, TO the city, or both. Default 'both'. |