Book an appointment
create_bookingCreates a real appointment in the salon calendar. ONLY call after the user explicitly confirmed: services, master (or any), date and time, their name and phone. The salon may contact the client to confirm.
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": {
"service_ids": "<service_ids>",
"datetime": "<datetime>",
"client_name": "<client_name>",
"client_phone": "<client_phone>"
},
"name": "create_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | ||
| comment | No | Wishes for the master, preferred language, etc. | |
| datetime | Yes | Start time from find_available_slots, e.g. 2026-10-22T14:00:00+07:00 | |
| staff_id | No | 0 or omitted = any available master | |
| client_name | Yes | ||
| service_ids | Yes | ||
| client_email | No | ||
| client_phone | Yes | International format, e.g. +66 81 234 5678 |