block_time
Blocks a barber's calendar for a time window so no one can book it, without changing existing appointments; remove the block to undo.
Instructions
Block a barber's calendar for a time window. Blocks the window so no one can book it and returns the block. It does not touch existing bookings: check list_appointments first. Undo it with remove_block.
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": {
"barber_id": "<barber_id>",
"start": "<start>",
"end": "<end>"
},
"name": "block_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | End, YYYY-MM-DDTHH:MM:SS. | |
| start | Yes | Start, YYYY-MM-DDTHH:MM:SS. | |
| barber_id | Yes | Barber id from list_barbers. |