search_flights
Find and compare flight prices and options on Google Flights for one-way or round-trip travel, with filters for stops, cabin class, passengers, and sorting by price or duration.
Instructions
Search flight prices and options on Google Flights.
Args: destination: Destination airport IATA code (e.g. "GRU"). If you only have a city name, call airport_search first. departure_date: Outbound date, YYYY-MM-DD. origin: Origin airport IATA code. Defaults to Lisbon (LIS) if omitted. return_date: Return date YYYY-MM-DD to search a round trip; omit for one-way. For round trips, each result's price is Google's estimated round-trip total for that outbound flight paired with its cheapest matching return — stops/duration/legs describe the outbound only. Open booking_link to pick the exact return flight. adults: Number of adult passengers (default 1). children: Number of child passengers (default 0). infants: Number of lap infants, under 2 with no own seat (default 0). cabin_class: "economy" | "premium" | "business" | "first". currency: ISO currency code. Defaults to EUR. max_stops: Maximum stops to allow (0 = nonstop only, 1 = up to one stop, etc.). Omit to allow any number of stops. sort_by: "price" (default, ascending) or "duration" (ascending).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adults | No | ||
| origin | No | LIS | |
| infants | No | ||
| sort_by | No | price | |
| children | No | ||
| currency | No | EUR | |
| max_stops | No | ||
| cabin_class | No | economy | |
| destination | Yes | ||
| return_date | No | ||
| departure_date | Yes |