search_flights
Find and compare flight options between airports or cities by specifying departure and arrival locations, travel date, number of adults, and cabin class. Ideal for planning trip itineraries.
Instructions
Search for flights between two locations.
Args: from_id: Departure airport/city ID (e.g., "OPO.AIRPORT" for Porto) to_id: Arrival airport/city ID (e.g., "MAD.AIRPORT" for Madrid) depart_date: Departure date in YYYY-MM-DD format adults: Number of adults (default: 2) cabin_class: Cabin class - ECONOMY, PREMIUM_ECONOMY, BUSINESS, FIRST (default: ECONOMY)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_id | Yes | ||
| adults | No | ||
| from_id | Yes | ||
| cabin_class | No | ECONOMY | |
| depart_date | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |