Get Hotel Rooms
get_hotel_roomsLists the bookable room packages for one hotel. Required: hotelId (from get_search_results), the SAME searchKey from hotel_search, plus startDate, endDate, rooms[], nationality, and regionId (re-supply the same values used in hotel_search); currency is recommended. Returns packages[], each with a quoteId (the priced, bookable offer — format packageId_hotelId), a packageId (the same string as the quoteId; truncate it at the underscore before sending it to check_cancellation_policy), roomName, mealType, price, pricePerNight, totalNights, amenities, and isRefundable. No authentication required. Pass a chosen quoteId to prepare_booking (and to confirm_booking for B2B). To inspect cancellation terms first, pass quoteId.split('_')[0] (the bare package UUID, WITHOUT the _hotelId suffix) to check_cancellation_policy — handing it the full quoteId fails with a misleading SESSION_EXPIRED even on a live session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rooms | Yes | ||
| endDate | Yes | Check-out date (YYYY-MM-DD) | |
| hotelId | Yes | Hotel ID from search results | |
| currency | No | Currency code | |
| regionId | Yes | Region ID | |
| searchKey | Yes | Search key | |
| startDate | Yes | Check-in date (YYYY-MM-DD) | |
| nationality | Yes | 2-letter country code |