find_cheapest_dates
Compare flight fares across each departure date in a range to identify lower-cost travel days. Runs one search per date, so wider ranges take longer.
Instructions
Compare the cheapest fare for each departure date in a range (one search per date).
Useful for flexible travel. Each date runs a full search, so wider ranges take longer.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"origin": "<origin>",
"destination": "<destination>",
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "find_cheapest_dates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cabin | No | Cabin class. | economy |
| adults | No | Adults (12+). | |
| origin | Yes | 3-letter IATA airport or city code, e.g. 'JFK', 'LON'. | |
| airlines | No | Restrict to airlines by 2-letter IATA code (e.g. ['BA','AA']) or alliance ('ONEWORLD', 'STAR_ALLIANCE', 'SKYTEAM'). | |
| currency | No | ISO 4217 currency code, e.g. 'USD', 'EUR', 'ILS'. | USD |
| end_date | Yes | Last departure date to check, YYYY-MM-DD (max 31 days after start). | |
| max_stops | No | 0 = nonstop only, 1 = up to one stop, etc. | |
| start_date | Yes | First departure date to check, YYYY-MM-DD. | |
| destination | Yes | 3-letter IATA airport or city code, e.g. 'JFK', 'LON'. | |
| trip_length_days | No | Nights away for a round trip; omit for one-way. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dates | Yes | ||
| cheapest | No | ||
| currency | Yes |