search_flights
Initiate a flight search by providing origin, destination, dates, passengers, and class. Obtain a search ID to later retrieve and filter detailed flight options.
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 |