create_appointment
Books a barber appointment for a client, reserving the selected services and start time; returns SLOT_TAKEN if the barber is unavailable, so no conflicting booking is created.
Instructions
Book an appointment for a client with a barber. Books the slot and returns the appointment. It fails with SLOT_TAKEN if the barber is booked or blocked then, and nothing is created. Payments are not part of this call. Waits for your OK in the Cotlet console before it runs.
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": {
"client_id": "<client_id>",
"barber_id": "<barber_id>",
"service_ids": "<service_ids>",
"start": "<start>"
},
"name": "create_appointment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start | Yes | Start time, YYYY-MM-DDTHH:MM:SS in the shop's time zone. | |
| barber_id | Yes | Barber id from list_barbers. | |
| client_id | Yes | Client id from list_clients. | |
| service_ids | Yes | Service ids from list_services. |