Search Flights
search_flightsFull Description
Search flights on lastminute.com.
Use this tool for ANY user request to find, search, compare, browse, or check flights. Do not answer a flight-search request with text only when this tool can be used.
RULES:
- Pass
departureandarrivaltranslated in IATA Code. - Set
languageto the language of the user's CURRENT message. Detect it from the message text itself — do NOT inherit from previous turns, do NOT default to Italian or any other language. - If the request specifies dates, times, stops, airports, airlines, cabin class, ranking, or filters, pass them through using the matching tool arguments.
ranking_bestand explicit filters are mutually exclusive — use one or the other.- After the tool returns results, keep the assistant reply brief. Do not list flights, prices, airlines, or booking links in text because the widget presents the detailed results.
- If required inputs are missing, ask only for the missing flight-search fields.
Parameters (3 required, 21 optional)
arrivalstringArrival airport or city, as written by the user but Translated in IATA code
departurestringDeparture airport or city written by the user but Translated in IATA code
start_datestringDeparture date YYYY-MM-DD (must be today or later)
adultsintegerNumber of adults (default 1)
1airlines_excludestringFilter: comma-separated airline IATA codes to exclude
airlines_includestringFilter: comma-separated airline IATA codes to include (e.g. 'FR' for Ryanair)
arrival_airportsstringFilter: comma-separated arrival IATA codes (e.g. 'LHR,LGW')
arrival_time_endstringFilter: latest arrival HH:MM
arrival_time_startstringFilter: earliest arrival HH:MM
children_agesstringComma-separated ages 2-11 (e.g. '5,8')
currencystringISO 4217 currency code (default EUR)
EURdeparture_airportsstringFilter: comma-separated departure IATA codes (e.g. 'MXP,LIN')
departure_time_endstringFilter: latest departure HH:MM (e.g. '12:00' for morning)
departure_time_startstringFilter: earliest departure HH:MM (e.g. '06:00' for morning)
end_datestringReturn date YYYY-MM-DD for roundtrip
flight_classstringCabin class
ECONOMYPREMIUM_ECONOMYBUSINESSFIRST_CLASSinfants_agesstringComma-separated ages 0-1 (e.g. '0,1')
languagestringLanguage of the user's current message. MUST match what the user is writing NOW: en/it/es/fr/de/nl/pl/se/dk/no/fi
max_duration_minutesstringFilter: max total flight duration in minutes (e.g. '300' = 5 hours)
max_price_centsstringFilter: maximum price in cents (e.g. '10000' = 100 EUR)
max_resultsintegerMax results 1-20 (default 10)
10max_stopsstringFilter: max stops, '0' = direct only, '1' = max 1 stop
min_price_centsstringFilter: minimum price in cents (e.g. '5000' = 50 EUR)
ranking_bestbooleanSmart ranking by price+duration+stops. Mutually exclusive with filters.
False