Get Hotels
get_hotelsFull Description
Fetch detailed information for hotels by ID. Use this to get data for specific hotel IDs from previous search results. Specify which data blocks to fetch (details, offers, rooms, reviews, etc.). Use the search tool for location-based discovery.
Parameters (1 required, 14 optional)
hotelIdsarrayList of hotel IDs to fetch data for. Use hotel IDs from previous search results. This fetches detailed information for these specific hotels without performing a search.
checkInstringCheck-in date (YYYY-MM-DD). Must be today or a future date. IMPORTANT: When user specifies month/day without year (e.g., "January 25"), use the NEXT occurrence of that date. If that date has already passed this year, use next year.
checkOutstringCheck-out date in 'YYYY-MM-DD' format. Must be after checkIn. Defaults to 3 nights after check-in.
currencystring3-char uppercase ISO currency code (e.g., 'USD', 'EUR', 'GBP'). ONLY provide this when the user EXPLICITLY mentions a currency (e.g., "show prices in EUR", "I want to pay in dollars"). Do NOT provide this field otherwise - leave it empty and it will be automatically derived from the user's country.
dayDistanceintegerDays from today to check-in. Use for relative dates like "next week" (7), "tomorrow" (1), "in 2 weeks" (14). Overrides checkIn if provided. Use with nights parameter for stay duration.
dryRunbooleanWhen true, run input parsing/normalization/validation but skip the upstream call. Returns the same output shape with empty results and the normalized stay metadata. Validation errors throw the same way as a real call.
FalseincludearrayHotel data categories to include in results. This parameter controls WHICH INFORMATION to return, NOT which hotels to filter. To FILTER hotels by specific amenities or features, use the filters parameter. Each type adds specific fields: - location: Hotel location details, area description, attractions description, and nearby attractions - rating: Guest ratings and review statistics - classification: Star rating, property type, themes, and national ratings description - facility: Hotel facilities list, amenities description, business amenities description, and dining description (INFO only, does NOT filter) - media: Hotel images and image count - policy: Hotel policies including check-in, fees description, policies description, know before you go, and special instructions (INFO only, does NOT filter) - offer: Available room offers with pricing (configure via offers options) - room: Room types with descriptions, amenities, and offers (configure via rooms options) - faq: Frequently asked questions about the hotel. Use when user asks about common guest questions, what guests typically ask, hotel policies/rules, or general information inquiries - review: Guest reviews with ratings and text (configure via reviews options) - insight: AI-generated review summaries with overall summary and category breakdowns (Facilities, Cleanliness, Rooms, Service, Location, Food) - analytics: Historical price analytics — average price over a time range, comparison vs similar hotels, and historical price data IMPORTANT: Include "analytics" when the user asks about a hotel's price *quality* — value comparisons (cheaper/expensive vs similar hotels, good deal, worth it, fair price, overpriced) or historical price trends (going up/down lately). For "WHEN should I go?" / "cheapest dates" / "price calendar" / flexible-date questions, use the search_hotels_availability tool instead — analytics gives historical context for fixed-date searches, not future date discovery. Note: propertyDescription, roomsDescription, and phone are always included at the hotel level when hotel data is available. Both singular and plural forms are accepted (e.g., "policy" or "policies").
['location', 'rating', 'classification', 'media', 'offers']mediaobjectOptions for including media data (hotel images).
nightsintegerNumber of nights for the stay duration. If provided with day_distance, calculates check-out. If provided with check_in, calculates check-out. Defaults to 3 nights.
offersobjectOptions for including offers data. Only applies when include contains "offers".
{}promptstringThe user prompt that triggered this tool call IN ENGLISH. If the user prompt is in another language, translate it to English first. IMPORTANT: Remove ALL personally identifiable information (PII) before sending. Strip out: names, emails, phone numbers, addresses, credit card numbers, passport/ID numbers, and any other personal data. Keep only the intent and travel-related details (destination, dates, preferences).
reviewsobjectOptions for including reviews data. Only applies when include contains "reviews".
{}roomsobjectOptions for including rooms data. Only applies when include contains "rooms".
roomsConfigurationarrayRoom configuration specifying occupancy for each room. CRITICAL: When the user mentions number of adults or children (e.g., "3 adults", "family of 4", "2 people"), you MUST extract this as the roomsConfiguration parameter. Each room requires an adults count and optional children ages (0-17). Examples: "3 adults" → [{adults: 3}], "2 adults and 1 child age 5" → [{adults: 2, children: [5]}], "2 rooms for 4 people" → [{adults: 2}, {adults: 2}]. Only use the default [{adults: 2}] if occupancy is NOT mentioned at all in the user query. AMBIGUITY HANDLING: When a multi-room request is ambiguous (guest count could be per-room or total), ask the user to clarify BEFORE calling any tool. Ambiguous: "2 rooms for 2 adults" (1 per room, or 2 per room?). Unambiguous: "2 rooms with 2 adults each" → [{adults: 2}, {adults: 2}].
[{'adults': 2}]searchModestringOffers polling mode. Use 'fast' (default) for essentially all queries — price lookups, hotel discovery, recommendations, single-hotel fetches, comparisons within the returned offer set. Fast returns offers in under ~3 seconds with high coverage of available providers and is the right choice when the user just wants to see hotels and prices. Use 'deep' ONLY when the user explicitly asks for exhaustive price comparison across *every* provider (phrases like "check every OTA", "compare all providers", "exhaustive search"). Deep takes up to 10 seconds and is rarely warranted — prefer fast unless completeness is explicitly required.
fastdeepfast