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, 12 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.
includearrayHotel 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) Note: propertyDescription, roomsDescription, and phone are always included at the hotel level when hotel data is available. Default: ["rating", "classification", "facility", "offer", "insight"]. Both singular and plural forms are accepted (e.g., "policy" or "policies").
['rating', 'classification', 'facility', 'offer', 'insight']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.
[{'adults': 2}]