Check room availability and prices
get_hotel_availabilityUse this when someone asks if rooms are free for certain dates or what a stay would cost. Returns the room types and rate plans with a free room every night for the party, with rooms left and nightly and total prices in minor currency units. Stays of 1–30 nights, check-in within 365 days. Not for making a booking.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"hotelId": "<hotelId>",
"checkInDate": "<checkInDate>",
"checkOutDate": "<checkOutDate>"
},
"name": "get_hotel_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adults | No | Adults staying, from 1 to 20; defaults to 2 | |
| hotelId | Yes | Hotel id: 24 lowercase hexadecimal characters | |
| infants | No | Infants staying, from 0 to 20; defaults to 0 | |
| children | No | Children staying, from 0 to 20; defaults to 0 | |
| checkInDate | Yes | Arrival date as YYYY-MM-DD, from today to 365 days ahead in the hotel's timezone | |
| checkOutDate | Yes | Departure date as YYYY-MM-DD, 1 to 30 nights after checkInDate |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offers | Yes | One row per bookable room type and rate plan with a free room every night. Amounts are integer minor currency units (12000 is 120.00 in a two-decimal currency). Guest records, reservations, room assignments, access data, notes, payments, channel references, photos, free-text descriptions and credentials are excluded. | |
| search | Yes | ||
| offersAreTruncated | Yes | True when more than 100 offers matched the search |