Hotel availability
check_availabilityFree nights in the online booking calendar of a hotel deal, for each option: whether a stay of its nights is free from check_in (to check_out when given) and the free nights of the next weeks. Only some hotel deals have a calendar (get_deal: online_booking_calendar); for the others the voucher is booked as its conditions say.
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": {
"id": "<id>",
"check_in": "<check_in>"
},
"name": "check_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The deal's id. | |
| check_in | Yes | YYYY-MM-DD: arrival. | |
| check_out | No | YYYY-MM-DD: departure (optional; default: the option's nights). |