Close a day
bookings_addClose a day on a booking calendar by adding a closing day: nobody can book that day any more. This tool never cancels a booking. When people have already booked that day, the day is not closed and the answer gives their number (bookings_to_cancel, status confirmation_required) and the calendars concerned; cancelling them and closing the day is done by bookings_remove with type bookings_of_day and that number. On the calendar of the app's default owner, a closing day may apply to every calendar of the app. Not possible: creating or moving a booking, changing opening hours or slots. The answer gives the closing_day_id; a refusal names the field to fix.
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": {
"type": "<type>",
"calendar_id": "<calendar_id>",
"day": "<day>"
},
"name": "bookings_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | Yes | The day to close, as YYYY-MM-DD; today or later. | |
| type | Yes | What to add: a closing day, the only thing that can be added to a calendar. | |
| calendar_id | Yes | The calendar to close, read with bookings_get (type calendar). |