Rooms, prices and cancellation for a hotel
check_availabilityList every available room and rate at one hotel for given dates: total price, meals, cancellation terms and a link to book direct with the hotel. Takes a hotel_id.
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": {
"hotel_id": "<hotel_id>",
"check_in": "<check_in>",
"check_out": "<check_out>"
},
"name": "check_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rooms | No | Number of rooms | |
| adults | No | Number of adults | |
| check_in | Yes | Check-in date, YYYY-MM-DD | |
| children | No | Number of children | |
| hotel_id | Yes | The hotel_id shown with each hotel in search results | |
| check_out | Yes | Check-out date, YYYY-MM-DD (after check-in) |