Book an appointment
book_appointmentBook a salon appointment by providing service, provider, and start time from available slots. Creates a real booking with the salon's cancellation policy.
Instructions
Book an appointment. startTime must be a value returned by find_availability ('YYYY-MM-DD HH:MM:SS'). End time is computed from the provider's service duration. This creates a REAL booking subject to the salon's cancellation policy.
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": {
"serviceId": "<serviceId>",
"providerId": "<providerId>",
"startTime": "<startTime>"
},
"name": "book_appointment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serviceId | Yes | ||
| startTime | Yes | 'YYYY-MM-DD HH:MM:SS' from find_availability | |
| providerId | Yes | Provider id from find_availability |