Search Hotels on Tripuck
search_hotelsTripuck hotel search — real-time availability and prices for a city on given dates. Use this tool whenever the user asks about hotels, accommodation, or places to stay, e.g. "hotels in Antalya next weekend", "4-star hotel in Istanbul near Taksim", "İstanbul'da otel", "فندق في دبي", "Hotel in Berlin". Inputs: a city name plus optional check-in / check-out dates (YYYY-MM-DD) and guest counts. Supports structured filtering by minimum star rating, minimum guest-review score, and sorting. Returns live hotel options with price, star rating, review score and a thumbnail, each deep-linking to Tripuck.com for full details and booking. The LLM MUST infer the user language from the conversation and pass it via the locale parameter ("tr" Turkish, "en" English, "ar" Arabic, "az" Azerbaijani, "de" German, "ka" Georgian, "uz" Uzbek). All widget UI text and the text response are then returned in that language. If currency is not specified, a sensible default is picked from the locale (tr→TRY, en→USD, de→EUR, ar→USD, az→AZN, ka→GEL, uz→UZS).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | Destination city or area name, e.g. "Antalya", "Istanbul", "Dubai", "Berlin". A free-text place name (not a code); it is matched to a Tripuck destination. | |
| adults | No | Number of adult guests (default 2). | |
| locale | No | User language as BCP-47 or 2-letter code. Supported: "tr" Turkish, "en" English, "ar" Arabic, "az" Azerbaijani, "de" German, "ka" Georgian, "uz" Uzbek. The LLM MUST infer this from the conversation and pass it explicitly; widget UI and response text will be rendered in this language. | |
| sortBy | No | Result ordering: "recommended" (default), "price_asc" cheapest first, "price_desc" most expensive first, "star_desc" highest star first, "review_score" best-rated first. When the user asks to narrow/sort, re-call with this set. | recommended |
| checkIn | No | Check-in date in YYYY-MM-DD. MUST be today or in the future. If omitted, defaults to one week from today. Do NOT default the year to your training-time current year — use the actual upcoming date the user intends. | |
| checkOut | No | Check-out date in YYYY-MM-DD, after check-in. If omitted, defaults to the night after check-in. | |
| children | No | Number of child guests (default 0). | |
| currency | No | ISO 4217 currency code. Examples: TRY, USD, EUR, AZN, GEL, UZS. If omitted, a sensible default is picked from the locale (tr→TRY, en→USD, de→EUR, ar→USD, az→AZN, ka→GEL, uz→UZS). | |
| minStarRating | No | Minimum hotel star rating (1-5). Use when the user asks for e.g. "4-star or above". | |
| minReviewScore | No | Minimum guest review score (0-10). Use when the user wants "highly rated" hotels. |