Block time
block_timeStop bookings for a period: a whole day or several days (date, until), part of a day (date with from/to), optionally for one staff member. Use for holidays, breaks, closures. Existing bookings in that time are listed, not cancelled.
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": {
"site": "<site>",
"date": "<date>"
},
"name": "block_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | HH:MM | |
| date | Yes | YYYY-MM-DD | |
| from | No | HH:MM; omit for the whole day | |
| site | Yes | Site slug (e.g. "kopitiam-muar") or id | |
| staff | No | Staff key; omit for everyone | |
| until | No | Last day, YYYY-MM-DD, for several days | |
| reason | No |