search_stations
Free. Resolve a station or city name to a stop_id. A bare city name resolves to that city's main rail hub only when exactly one candidate exists; the answer then carries a 'resolution' object naming the rule, the chosen station and the rejected alternatives. Use the returned stop_id as 'to' in plan_transfer. Every id-like field in a result carries an 'accepted_by' block saying whether it is valid as a station argument — read it instead of guessing: the 'eva' field is a station identifier, NOT a stop id, and is rejected by departures.
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": {
"q": "<q>"
},
"name": "search_stations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Station or city name, e.g. 'Leipzig Hbf'. | |
| limit | No |