Find trips in plain words
find_tripsUse this when a person wants to find, compare or price a package holiday or niche trip sold by a travel agency (the travel types below), a trip to a football match, a race or a concert included: describe the trip in plain words and get bookable trips back in one call. It is the quickest way to search. Do not use it for a flight or a hotel night on its own, for the weather, visa or travel advice, or for a booking the person already has: Kompare only searches trips that are for sale now.
travelType, one of:
ski: ski and snowboard holidays
golf: golf holidays
surf: surf camps and holidays
diving: diving holidays
hiking: hiking and walking holidays
charter: package holidays: sun and beach trips with flight and hotel
cycling: cycling holidays
football: football trips: a match ticket with travel and hotel
carrental: car rental
f1: Formula 1 race trips
running: running races abroad, marathons, running camps and trail tours
americanfootball: NFL game trips
yoga: yoga retreats
triathlon: triathlon races and training camps
cruise: cruises
coach: coach (bus) tours
holidayhome: holiday homes and cottages
roundtrip: round trips and guided tours through several places
citybreak: city breaks
dance: dance holidays
wellness: wellness, spa and retreat stays
safari: safaris
culture: culture trips: art, music, opera, history and theatre
sportsevent: trips to sports events other than football, F1, NFL and darts
camping: camping holidays: tents, mobile homes and campsite cabins
hunting: hunting trips
culinary: food and wine trips
fishing: fishing trips
language: language courses abroad
racket: padel and tennis trips
motorcycle: motorcycle tours
riding: horse riding holidays
birding: birdwatching trips
sailing: sailing holidays
concert: coach trips to concerts
umrah: Umrah and Hajj packages
adventure: adventure trips: canoe, kayak, rafting, dog sled, snowmobile and multi-activity weeks
darts: trips to darts tournaments with a ticket in the price
places: destinations, ski areas, regions or countries in plain words, in English or the traveller's language ("Ischgl", "Österreich", "Costa del Sol"). Leave it out for anywhere. When: startFrom/startTo (the window the trip starts in) or months. Party: adults and children, since prices depend on them. Optional: durationDays, maxPricePerPerson, sort (best, cheapest, soonest), limit.
A trip to a match, race, tournament or concert (football, f1, running, triathlon, americanfootball, sportsevent, darts, concert) is searched the way a fan asks:
team (football, americanfootball): a club or national team in plain words; its matches, home or away. With opponent, the one fixture: the next time the two meet with trips for sale, whichever ground; understood.event.match names it and laterMeetings their other matches for sale (search those with eventFrom/eventTo).
competition (football, f1, running, triathlon, americanfootball, sportsevent, darts): a league, cup, Grand Prix, race or tournament in plain words ("Premier League", "Monaco Grand Prix", "Berlin Marathon", "VM i dart").
eventFrom/eventTo (football, f1, running, triathlon, americanfootball): the match or race day itself, not the trip's start. On the other types, use startFrom/startTo: their trips start on or just before the event.
hotel (every event type): true = a hotel is in the price, false = the ticket and the journey alone.
flight (every travel type): true = a flight from the market's own airports is in the price, false = no flight. A name that is not found or could be several searches nothing: understood.event lists namesNotFound and namesAmbiguous, so ask the user. A question a travel type cannot answer also searches nothing, and the message says what to use instead.
Response: { understood, ...{ total, accommodationCount, offset, results: [{ name, country, destination, stars, guestRating, event: { date, home, away, title } or null, tripsAvailable, trips: [{ start, end, durationDays, adults, children, price, pricePerPerson, currency, priceConfirmedHoursAgo, priceBeforeDiscount, transport, meals, unit, hotelIncluded, soldTo, seller, bookingUrl }] }] } }
understood says how the request was read: the places searched, placesNotFound and placesAmbiguous, and for an event the team, opponent and competition searched. When a place or name was not found or is ambiguous, tell the user instead of presenting other trips as theirs.
price is the whole party's price; pricePerPerson divides it. Quote them as given, in currency — never convert or round them into a different claim.
priceConfirmedHoursAgo is how many hours ago the seller's own site last showed this price. Under 24: present the price as current. Older: say when it was last confirmed ("3 days ago") and that it may have changed since, the more likely the older it is. null: the age is unknown, so say the price may have changed. The seller's site, through bookingUrl, always shows the price that applies.
soldTo is null for a trip anyone may book. Otherwise the seller sells the trip to one group only: group is singles, women or men (or null), ageMin and ageMax the age limits (null = none). Say so whenever you present such a trip, and never offer it to a traveller outside the group. The audiences and ageBands filters search by it. Unless the search asks for its group that way, such a trip comes after its hotel's other trips in every sort, and gives the hotel its place in the order and its lowest price only when the hotel has no other trip.
event is set when the trips are to one match, race, tournament day or concert, and null otherwise. Its date is the match, race or show's own day, never the trip's start or end, and null for a training camp, which has departures rather than one day; home and away are a match's two sides, home first; title is the league, race or tournament, or the concert's performer; a part not known, or not the same for all of the result's trips, is null. Name the event whenever you present such a trip. On a trip to an event, hotelIncluded is true when a hotel is in the price, false for the ticket and the journey alone, and null when the seller does not say, which never means without a hotel; on any other trip it is null.
trips holds the first few dates in sort order; tripsAvailable says how many more exist. Page with offset (it counts accommodations).
seller is the travel agency that sells the trip. bookingUrl opens that trip on the seller's site — give it to the user as the way to book. It is null when the seller can only be compared, not booked, through Kompare.
start/end are the trip's own first and last day. When nothing matches, the response holds alternatives (counts with one filter removed) to suggest what to relax. When no place matched at all, it holds a message and nothing was searched.
For a filter this tool lacks (meal plan, stars, a departure airport, bus or train, ski pass, distance to the lift, a trip sold to singles, women, men or an age group, ...) use search_listings.
Each call shows its trips to the person as one row of cards beside your answer. Answer a request with one call: the sort the person asked for (best when they did not say) and every filter they gave. Call again only for something else they ask for, such as another place or other dates; a second call that orders the same search another way shows them the same trips twice.
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": {
"travelType": "<travelType>"
},
"name": "find_trips"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | best = Kompare’s ranking, cheapest = lowest price per person, soonest = earliest start. Kompare’s ranking weighs the price against similar trips, hotel stars, guest ratings, how well the trip fits the party and what the travel agency pays Kompare, in commission and per click. Agencies with a paid agreement (commission or payment per click) always rank above those without. | best |
| team | No | A team in plain words ("Arsenal", "Brøndby IF", "Kansas City Chiefs"): trips to its matches, home or away. football and americanfootball only. | |
| hotel | No | Trips to an event: true = a hotel is in the price, false = the ticket and the journey alone. | |
| limit | No | ||
| adults | No | ||
| flight | No | true = a flight from the market's own airports is in the price, false = no flight (coach, train, car or getting there yourself). | |
| market | No | The traveller's own country: the trips are its travel agencies', in its currency. Use the strongest clue you have, in this order. 1) Where they live or travel from, however you know it: what they wrote, their home city, or the airport they fly from (Billund is dk, Arlanda is se). Where they live beats where they are now. 2) The language they write in when it is one country's (Danish dk, Swedish se, Traditional Chinese tw, Finnish fi, Polish pl, Italian it; Dutch, English, French, German and Spanish are written in more than one). Never guess from a name or anything weaker. Leave it out when nothing tells you: the server then uses the country the chat reports, or answers with a question for the person. | |
| months | No | Months the trip may start in, YYYY-MM. Use instead of startFrom/startTo for "in February". | |
| offset | No | ||
| places | No | Where, in plain words, in English or the traveller's language: a destination, ski area, region or country ("Ischgl", "Österreich", "Costa del Sol"). Leave out for anywhere. | |
| eventTo | No | Latest day of the match or race itself, YYYY-MM-DD. | |
| startTo | No | Latest day the trip may start, YYYY-MM-DD. | |
| children | No | ||
| opponent | No | The other side, together with team, for one fixture: team "Arsenal" and opponent "Chelsea" find the next Arsenal against Chelsea match with trips for sale, at either ground. | |
| eventFrom | No | Earliest day of the match or race itself, YYYY-MM-DD, not of the trip's start. | |
| startFrom | No | Earliest day the trip may start, YYYY-MM-DD. | |
| travelType | Yes | The kind of trip. See the tool description. | |
| competition | No | A league, cup, Grand Prix, race or tournament in plain words ("Premier League", "Champions League", "Monaco Grand Prix", "Berlin Marathon", "VM i dart", "Wimbledon"). | |
| durationDays | No | Trip lengths in days that fit, e.g. [7, 8] for a week. | |
| maxPricePerPerson | No | Highest price per person, in the market's currency (DKK in dk, EUR in de, EUR in nl, EUR in be, SEK in se, GBP in gb, EUR in fr, TWD in tw, EUR in at, USD in us, EUR in fi, PLN in pl, EUR in es, CHF in ch, EUR in it). |