search_flex
Find the cheapest flight by flexing travel dates around a chosen day, then retrieve options for that optimal date.
Instructions
Flex window (±N), then one shopping search on the cheapest day.
Use search_dates for a cheapest-week calendar. Do not brute-force a date matrix. Currency is currency or inferred from a named origin's owned country. If unknown, ask. Viajante does not convert. The calling agent may convert for the user. Unnamed baggage_buffer is 0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| via | No | ||
| bags | No | ||
| flex | Yes | ||
| sort | No | ranked | |
| trip | No | one-way | |
| cabin | No | economy | |
| proxy | No | ||
| route | Yes | ||
| adults | No | ||
| around | Yes | ||
| nearby | No | ||
| nights | No | ||
| country | No | ||
| airlines | No | ||
| alliance | No | ||
| carry_on | No | ||
| children | No | ||
| currency | No | ||
| max_stops | No | ||
| price_cap | No | ||
| exclude_via | No | ||
| max_layover | No | ||
| min_layover | No | ||
| depart_after | No | ||
| max_duration | No | ||
| no_overnight | No | ||
| arrive_before | No | ||
| depart_window | No | ||
| baggage_buffer | No | ||
| infants_on_lap | No | ||
| infants_in_seat | No | ||
| exclude_airlines | No | ||
| exclude_airports | No | ||
| exclude_alliance | No | ||
| include_airports | No | ||
| require_overnight | No |