tool_get_departures
Retrieve upcoming train departures from any Polish station using the Koleo API. Provide a station name and optional date to access real-time timetable data for trip planning.
Instructions
Get upcoming train departures from a station.
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": "<station>"
},
"name": "tool_get_departures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| station | Yes | ||
| date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |