get_cheapest_flights
Find the cheapest flight options between two airports on a specific date. Supports one-way and round-trip searches with seat and passenger preferences.
Instructions
Get the cheapest flight information for a given origin, destination, and departure date. If the user wants to do a round-trip, you will need to make two one-way trip calls.
Args:
origin (str): The origin airport IATA code (ex: "ATL", "SCL", "JFK").
destination (str): The destination airport IATA code (ex: "DTW", "ICN", "LIR").
departure_date (str): The departure date in YYYY-MM-DD format.
trip_type (str, optional): The type of trip ("one-way" or "round-trip" only). Defaults to "one-way".
seat (str, optional): The type of seat ("economy", "premium-economy", "business", or "first" only). Defaults to "economy".
adults (int, optional): The number of adults. Defaults to 1.
children (int, optional): The number of children. Defaults to 0.
infants_in_seat (int, optional): The number of infants in a seat. Defaults to 0.
infants_lap (int, optional): The number of infants on a lap. Defaults to 0.
Returns:
list[str]: A list of flight information strings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | ||
| destination | Yes | ||
| departure_date | Yes | ||
| trip_type | No | one-way | |
| seat | No | economy | |
| adults | No | ||
| children | No | ||
| infants_in_seat | No | ||
| infants_on_lap | No |