get_departures
Retrieve upcoming departures from a German train station, including time, line, direction, platform, and delay.
Instructions
Get upcoming departures from a German train station.
Returns one line per departure: time, train line, direction, platform, delay.
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": {
"station_id": "<station_id>"
},
"name": "get_departures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| station_id | Yes | Station ID from search_station, e.g. '8011160' | |
| minutes_ahead | No | Time window in minutes (10-180) | |
| limit | No | Max departures (1-20) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |