Flexible dates
flexible_datesWhen a round trip on one route is cheapest: the cheapest dates, the cheapest fare of each month in the next year, the usual price, and what moving a planned date by up to 3 days saves. Use it for questions like 'when is it cheapest to fly' or 'can I save by moving my trip'.
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": {
"originIata": "<originIata>",
"destination": "<destination>"
},
"name": "flexible_dates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| originIata | Yes | Departure airport or city IATA code, for example BUD. | |
| destination | Yes | Destination city or IATA code, for example Lisbon or LIS. | |
| departureDate | No | Optional planned departure date (YYYY-MM-DD), to see what moving it by up to 3 days saves. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| around | Yes | ||
| origin | Yes | ||
| currency | Yes | ||
| alertOffer | Yes | ||
| bookingUrl | Yes | ||
| usualPrice | Yes | ||
| destination | Yes | ||
| cheapestDates | Yes | ||
| cheapestByMonth | Yes | ||
| destinationCode | Yes |