Search holiday packages
search_packagesUse this when the user wants a holiday package (flight + hotel together) to one destination country. Covers packages only, not flights or hotels alone. Searches holiday packages (flight + hotel) to one destination country. Returns packages with hotel name, stars, guest rating, board, departure date and airports, total and per-person price, and a link to book on the brand's website. Filters: dates, nights, travellers, departure airport, price, stars, board and region (regionCode from get_regions of the same country, countryCode from get_countries); sorting by popularity, price, rating or stars; cursor pagination. Only countryCode is required (defaults: departures in the 2 months from dateFrom, tomorrow at the earliest, 7 nights, 2 adults). Read-only.
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": {
"countryCode": "<countryCode>"
},
"name": "search_packages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results to return (default 6, max 30) | |
| adults | No | Number of adults (default: 2) | |
| cursor | No | Cursor for pagination (from previous response's nextCursor) | |
| dateTo | No | Latest return date, YYYY-MM-DD (optional, defaults to 2 months after dateFrom, or after tomorrow when dateFrom is omitted or before tomorrow). A window shorter than the stay is read as the latest departure, with the return up to the minimum stay later. | |
| nights | No | Number of nights (default: 7) | |
| sortBy | No | Sort results by: 'popularity' (default, most booked first), 'price', 'rating', or 'stars'. | |
| dateFrom | No | Earliest departure, YYYY-MM-DD (optional, defaults to tomorrow; packages depart from tomorrow, so today's date counts as tomorrow). With dateTo, the window the whole trip must fit in; a window shorter than the stay is read as departures through dateTo. | |
| maxPrice | No | Maximum price for the whole group (all travellers together, not per person) in the local currency (optional) | |
| maxStars | No | Maximum hotel star rating 1-5 (optional) | |
| mealType | No | Meal plan filter (also called board / meal plan): 'breakfast' (BB), 'half-board' (HB), 'full-board' (FB), 'all-inclusive' (AI), or 'room-only' (RO) | |
| minPrice | No | Minimum price for the whole group (all travellers together, not per person) in the local currency (optional) | |
| minStars | No | Minimum hotel star rating 1-5 (optional) | |
| nightsMax | No | Maximum number of nights of a flexible range (optional, together with nightsMin). When set, 'nights' is ignored. | |
| nightsMin | No | Minimum number of nights of a flexible range (optional, together with nightsMax). When set, 'nights' is ignored. | |
| sortOrder | No | Sort order: 'asc' (ascending) or 'desc' (descending). Default depends on sort type. | |
| regionCode | No | Optional region or city code from get_regions for the same countryCode (e.g. 're-ACA'); a code of another country is rejected. Only codes returned by get_regions are valid: a code built from a city name (e.g. 're-NAP') is not one, and is ignored (the whole country is searched). Narrows the search. | |
| countryCode | Yes | Two-letter destination country code (e.g. 'ES' for Spain, 'GR' for Greece, 'TR' for Turkey, 'EG' for Egypt), as listed by get_countries. Must be a code returned by get_countries; other codes are rejected, so a guessed code fails. | |
| childrenAges | No | Ages of children (optional, empty array if no children) | |
| departureAirport | No | Departure airport IATA code (e.g. 'WAW' or 'KTW' on eSky, 'MAN' or 'LGW' on Thomas Cook UK). Omitted = all available departure airports. |