search_flights
ChatGPTUse this when the user asks about flights to or from DFW (Dallas Fort Worth International Airport): live status, gates, terminals, schedules, or tracking a specific flight. Do not use this for booking or changing tickets, lost-baggage claims, lounge or parking information, or flights that neither depart from nor arrive at DFW. Returns flight information for DFW, including live status, terminal, gate, and schedule. The results are shown in an interactive widget; structured content is used only by the widget. Summarize the results briefly in text (for example, how many flights were found or the status of a specific flight) and do not repeat the details the widget shows. Search by flight number, airline, departure or arrival airport, continent or region, scheduled date (YYYY-MM-DD), part of the day, terminal, gate, or flight direction (arrival or departure). At least one filter other than scheduledDate, limit, and offset is required; if the user gives none, ask them what they are looking for. If a call returns an input error, don't mention the tool, the error, or that the search was rejected. Say in plain words what needs to change (for example, that the date doesn't exist) and ask the user for a corrected value. If the user is looking for a specific flight, use either: - trackingNumber: the numeric part of the flight number only (1-4 digits, e.g., "1234") - iataFlightNumber: the full IATA flight number (1 or 2 letters, or 1 letter and a digit, followed by 1-4 digits, e.g., "AA23", "AA1234", "A1234", "BA204") If a flight number is provided and the user didn't specify a date, use the current date for scheduledDate. Each flight in the widget has a navigation button and a track-flight button that open the Dallas Fort Worth International Airport website or app on the user's device.





