Add closed days
add_closureClose a branch (or, with no branch_id, the whole business) from start_date to end_date (one day if no end). The reason shows to families (e.g. Christmas break). No lessons happen there on those days.
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_date": "<start_date>",
"reason": "<reason>"
},
"name": "add_closure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Shown to families, up to 120 characters. | |
| end_date | No | Last closed day, YYYY-MM-DD, in the business's own time zone. | |
| branch_id | No | The branch; leave out for the whole business (needs every branch). | |
| start_date | Yes | First closed day, YYYY-MM-DD, in the business's own time zone. |