get_departures
Check upcoming train departures for a station with real-time updates on delays, cancellations, and platform changes using station codes.
Instructions
Get upcoming train departures for a specific station.
Use this to check the departure board at a station, including real-time updates about delays, cancellations, and platform changes.
Args: station: Station code (e.g., "ut" for Utrecht Centraal). Use search_stations to find codes. max_journeys: Maximum number of departures to return (default: 10, max: 40) date_time: Date and time to show departures from in ISO format. Defaults to current time.
Returns: A dictionary containing: - station: Station code - departures: List of departures with: - direction: Destination of the train - name: Train identification (e.g., "Intercity 2800") - planned_time: Scheduled departure time - actual_time: Actual departure time (if different) - planned_track: Scheduled platform - actual_track: Actual platform (if changed) - cancelled: Whether the departure is cancelled - delay_minutes: Delay in minutes (if applicable) - count: Number of departures returned
Example: get_departures(station="ut", max_journeys=5) get_departures(station="asd", date_time="2025-11-20T08:00:00")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| station | Yes | ||
| max_journeys | No | ||
| date_time | No |