Fare calendar
fare_calendarShows a Paytm fare calendar: the cheapest flight fare for every date in a range, so the traveller can spot the cheapest days to fly. Supports date-range queries and round trips. Origin and destination are IATA codes (e.g. DEL, BOM, DXB) and dates are ISO (YYYY-MM-DD). It answers cheapest dates/days and lists no individual flights; requests to show or find flights are served by search_flights. For a short window, the calendar is designed to appear below the search_flights card (sort_by='cheapest' on a date in that window) for the same route.
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": "fare_calendar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cabin | No | economy | premium economy | business | first. | economy |
| adults | No | Adult travellers (default 1). | |
| origin | Yes | Origin IATA code, e.g. "DEL". | |
| infants | No | Infant travellers (default 0). | |
| children | No | Child travellers (default 0). | |
| end_date | Yes | Last date of the range, YYYY-MM-DD. | |
| trip_type | No | "oneway" or "roundtrip" (roundtrip also returns the return leg). | oneway |
| start_date | Yes | First date of the range, YYYY-MM-DD. | |
| destination | Yes | Destination IATA code, e.g. "DXB". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stats | No | ||
| onward | No | ||
| return | No | ||
| search | Yes | ||
| cheapest | No | ||
| currency | No | INR | |
| holidays | No | ||
| disclaimer | No |