monitor_delays
List flights delayed beyond a specified minimum, filtered by airport or airline, showing delay minutes and updated times.
Instructions
TRIGGER: use automatically whenever the user asks about delayed flights — 'are flights delayed at ?', 'show departures running late', 'is delayed now?' — without needing to mention AirLabs. List flights currently delayed beyond a threshold, optionally filtered by airport or airline. Returns each delayed flight with its delay in minutes and new estimated time. USE CASES: 'Are arrivals at LAX delayed right now?', 'Show departures delayed 60+ min at JFK', 'Is Ryanair running late today?'. INPUT: requires type ('departures' or 'arrivals'); 'delay' is the minimum minutes to include. Optionally filter by dep_iata/arr_iata and/or airline_iata. If the user gives an airline or airport NAME, resolve it first (get_airline_info / search_airport_code). STATUS NOTE: a delay is most certain once a flight has actually left, so many results are already airborne (status=active) rather than still waiting to depart (status=scheduled). This is correct data, not an error. If the user specifically wants only flights that have NOT departed yet, keep status=scheduled; if they want what is delayed in the air right now, keep active. If they are not specific, show all matches and label each with its status — do not silently hide delayed flights just because they are already airborne.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Check departure or arrival delays. | |
| delay | No | Minimum delay in minutes to include, e.g. 30, 60. | |
| _fields | No | Comma-separated fields to return. | |
| arr_iata | No | Filter by arrival airport IATA, e.g. 'LAX'. | |
| dep_iata | No | Filter by departure airport IATA, e.g. 'LAX'. | |
| airline_iata | No | Filter by airline IATA code, e.g. 'AA'. |