search_flights
Find flight options by specifying segments, passengers, class, currency, and locale. Retrieve search_id and results internally for further filtering using get_flight_options
. Supports multi-city, round-trip, and one-way searches.
Instructions
Search for flights using the Aviasales Flight Search API. This tool performs search based on the provided flight segments, number of passengers, trip class, currency, and locale. It provides search_id and description of search results and saves found options internally.After receiving the result client can use get_flight_options
tool to retrieve the found options with more granular filters.IMPORTANT: All times are local to departure/arrival locations and use HH:MM 24-hour format.IMPORTANT: Call this tool as many times as needed to find the best flight options.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
request | Yes |