Find cheap flights for a break
find_tripsFind the cheapest return flights from a departure airport that fit a break, one per destination, cheapest first, with booking links. Prices are cached airline fares in the departure country's currency (GBP, EUR, AUD or USD) and can change; if the result says sample, they are example prices only. Links go through leavehacker.app/go and are affiliate links: Leave Hacker may earn a commission if you book, at no extra cost to you. Say so when you share them. Use for "Find cheap flights from Manchester that fit the May bank holiday weekend" (work out the break's dates with best_days_to_book first).
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>",
"depart": "<depart>",
"return": "<return>"
},
"name": "find_trips"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many destinations to return, up to 20. Default 10. | |
| depart | Yes | Outbound date, the first day of the break (yyyy-MM-dd). | |
| origin | Yes | Departure airport or city IATA code, e.g. MAN (Manchester), LGW (Gatwick), EDI (Edinburgh), BHX, LON (all London airports). | |
| return | Yes | Return date, the last day of the break (yyyy-MM-dd). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fares | Yes | ||
| depart | Yes | ||
| origin | Yes | ||
| return | Yes | ||
| sample | Yes | True: example prices, not real offers | |
| currency | Yes | ISO 4217: GBP from the UK, EUR from Ireland, AUD from Australia, USD from the US | |
| affiliate | Yes | ||
| priceNote | Yes | ||
| disclosure | Yes | ||
| searchAllUrl | Yes |