Search tours
search_toursSearch the TripWays catalog of bookable tours, day trips, and activities worldwide. Pass a natural-language query plus any filters you already know: destination, price range in USD, duration in hours, activity, theme, or cancellation policy. Returns ranked tours with bokun_id, title, from-price, duration, destinations, rating, cancellation policy, hero_image, the TripWays page (url), and checkout_url. For live dates, remaining seats, or a group total, use check_availability and get_price_quote.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | Natural-language search, e.g. 'family food tour in Rome under $100'. | |
| theme | No | ||
| activity | No | Activity facet, e.g. food, hiking, snorkeling. | |
| price_max | No | ||
| price_min | No | ||
| destination | No | Place name (city, region, country, or well-known area/landmark). Resolved against TripWays destinations; a landmark that is not a destination is added to the search text. | |
| cancellation | No | ||
| duration_hours_max | No | ||
| duration_hours_min | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| note | No | Why the list is empty or how the destination was read. | |
| error | No | Present when ok is false. code: tour_not_found, destination_not_found, destination_ambiguous, or unpriced. message is written for the traveler. | |
| tours | No | Ranked tours; empty when nothing matched (see note). | |
| guidance | No | ||
| did_you_mean | No | Candidate destinations when the place name matched more than one location. | |
| destination_resolved | No |