Cheapest month from home
price_calendarShows the cheapest month to travel from someone's home town to a place, for each airport within reach: the cheapest fare found for each month (or, where none is found, what that route usually costs) plus the train or bus to the airport and the transfer into the city. Takes a few seconds. Airports further than 8.5 hours from home are left out and named. Use it when the user's dates are flexible or they ask when it's cheapest to go; then call find_trips for the month they choose to get bookable trips. Needs the home town; months as "2027-03", at most 12; for a season or a year pass its months ("next spring" = March to May), and the answer says which months have fares (state only those). Prices per person, in the home currency unless currency is given. The widget shows the months: reply in 3-4 sentences, with the best month and what it costs ("cheapest found" or "usual price", as the answer says), and don't quote prices from other sources.
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": {
"home": "<home>",
"destinations": "<destinations>"
},
"name": "price_calendar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| home | Yes | The traveller's home town or village, e.g. "New Haven" or "Hamden, US". Not an airport. Add the country when the name is common. | |
| one_way | No | True for one-way fares. | |
| currency | No | ISO code (USD, GBP, EUR). Default: the home's. | |
| month_to | No | Last month. Default: 6 months in all. | |
| month_from | No | First month, "2027-03". Default: this month. | |
| destinations | Yes | Where to: airport codes (LIS), city codes (NYC) or country codes (PT). |