Check booking availability
hub_get_booking_availabilityThe bookable windows for a product over a date range, per resource, with what is already taken. Quote times from THIS — never compute a grid yourself: the engine applies the hours, the buffer, notice and advance limits, and the outlet timezone, and a hold whose start is not exactly a slot start is refused. Ask for a few days at a time; a year-wide range is slow and pointless.
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": {
"productId": "<productId>",
"from": "<from>",
"to": "<to>"
},
"name": "hub_get_booking_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ISO instant, end of the range | |
| from | Yes | ISO instant, start of the range, e.g. "2026-09-12T00:00:00Z" | |
| outletId | No | The shop the booking is for — decides the local wall clock. Omit for the company default | |
| productId | Yes | Product id from get_products |