Find stations
find_stationsSearch stops and stations by name to get ranked stop IDs for departures, arrivals, and trip planning. Use it first because other transport tools require an ID, not a station name.
Instructions
Search stops/stations by name (e.g. "Berlin Hbf", "Alexanderplatz", a town name). Returns a ranked list of stops only (no addresses or POIs). Call this first: every other tool takes an id, never a name. Ids are opaque; never guess, hardcode or reuse them across sessions. The same station can appear under several ids (one per data feed); any of them works. Results: JSON, then "Hints:" (situational advice; attribution, credit once).
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_stations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Station, stop or town name. | |
| results | No | Maximum number of results (1-20, default 5). |