Close days
close_daysMakes one day or a whole range unavailable, for one unit or (without unit_id) for all units: no bookings can be made on those nights, online, by the venue or on connected channels. A closed day means nobody can stay that night. Existing bookings on those days are not cancelled; they are listed in the answer. For one day, send only from. Acts on one venue, given its address and access key.
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": {
"address": "<address>",
"access_key": "<access_key>",
"from": "<from>"
},
"name": "close_days"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last closed night (inclusive), YYYY-MM-DD. Default: same as from. | |
| from | Yes | First closed night, YYYY-MM-DD. | |
| reason | No | Optional, only the venue sees it, e.g. "Holiday" or "Family visit". | |
| address | Yes | The venue’s address name, the "name" in name.bookare.app. | |
| unit_id | No | Leave out to close all units. | |
| access_key | Yes | The venue’s access key. |