add_days_off
Mutation/readOnly:false, script-tier/no-model-token action. Close bookings for a day or a range — "we're closed Friday", a holiday, a vacation. end defaults to start, so one date closes just that day. The label is what the shop shows next to the closed day (e.g. "Holiday"). Existing bookings are kept; only new bookings are blocked. Call get_booking_setup first to see the days off that are already set.
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": {
"start": "<start>",
"proAccessToken": "<proAccessToken>"
},
"name": "add_days_off"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Last closed day; defaults to start. | |
| label | No | What the shop shows, e.g. "Closed for vacation". | |
| start | Yes | First closed day, YYYY-MM-DD. | |
| proAccessToken | Yes | The proAccessToken printed by confirm_pro_signup or renew_pro_access. It names the pro's storefront for this call and is valid for 24 hours. |