plan_journey
Plan train journeys between German stations. View departure and arrival times, platforms, duration, transfers, and lines used.
Instructions
Plan a train journey between two German stations.
Returns one block per option: departure / arrival times, platforms, duration, transfers, lines used.
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": {
"from_station_id": "<from_station_id>",
"to_station_id": "<to_station_id>"
},
"name": "plan_journey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_station_id | Yes | Origin station ID from search_station | |
| to_station_id | Yes | Destination station ID from search_station | |
| departure | No | ISO-8601 departure time, e.g. '2026-06-06T14:00:00+02:00'. Omit for now. | |
| results | No | Number of options (1-5) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |