Flights on a route that day
flight_lookupUse when the traveler wants to know which flights operate a route on a date, or needs a flight number for seat_availability or track_seats: departure and arrival times, carrier, aircraft, stops. No fares. Not for prices (search_flights) and not for a whole month (price_calendar).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | A 3-letter airport code (JFK), or a city code that searches every airport in the city (SlickTrip's 4-letter codes: NYCA New York, LOND London, ROME Rome, TYOA Tokyo). Up to 3 places joined with _ search them together (JFK_EWR). A place name works when one place clearly matches; otherwise the result is an unknown_place error listing suggestions. Unsure of the code: call find_places. | |
| depart_date | Yes | YYYY-MM-DD. | |
| destination | Yes | A 3-letter airport code (JFK), or a city code that searches every airport in the city (SlickTrip's 4-letter codes: NYCA New York, LOND London, ROME Rome, TYOA Tokyo). Up to 3 places joined with _ search them together (JFK_EWR). A place name works when one place clearly matches; otherwise the result is an unknown_place error listing suggestions. Unsure of the code: call find_places. | |
| user_request | No | Optional. The traveler's current travel request, briefly, in their own words. Used to interpret this search, suggest a corrected search if it fails, and improve SlickTrip's search. Include only this request; not earlier conversation, names, contact details, or payment or ID information. | |
| flight_number | No | Only this flight, like AA100. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | On an error: a machine-readable kind, e.g. unknown_place | |
| note | No | Guidance for the assistant | |
| field | No | On unknown_place: which argument (origin, destination, ...) | |
| search | No | origin, destination, depart_date with names | |
| status | No | ok | no_data | error | sign_in_required | |
| flights | No | Scheduled flights: flight_numbers, aircraft, airlines, stops, duration_minutes, segments | |
| message | No | Error or sign-in text | |
| suggestions | No | On unknown_place: places to offer the traveler, each with code, name, kind (airport, all airports in the city, nearby airport), city, country | |
| places_assumed | No | Place names this call resolved on its own, e.g. 'Portland = Portland, OR (PDX)'; tell the traveler | |
| seat_tracker_url | No | The seat tracker on slicktrip.com |