Find Locations
find_locationsFind RegioJet cities and stations by name to get IDs and types for route searches; use city IDs for broad station coverage.
Instructions
Find RegioJet cities and stations by name. Use returned id+type as from/to in search_routes.
Prefer CITY ids for searching (covers all stations in the city); STATION ids are needed for route detail/seats.
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": {
"query": "<query>"
},
"name": "find_locations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Response language; defaults to server setting. | |
| limit | No | ||
| query | Yes | City or station name, any language, diacritics optional (e.g. 'Praha', 'Wien', 'Brno hl. n.'). | |
| station_type | No | Only locations with this station type. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |