create_booking
Create a new booking for a member. Use get_available_slots first to find valid times, then create the booking with the service, member, date, and time.
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>",
"accountId": "<accountId>",
"bookingDate": "<bookingDate>",
"startTime": "<startTime>",
"endTime": "<endTime>"
},
"name": "create_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Booking notes | |
| endTime | Yes | End time in HH:MM format | |
| staffId | No | Staff member ID | |
| outletId | No | Outlet/location ID. Required when the company has multiple outlets and the member has no default outlet. | |
| accountId | Yes | The member/account ID | |
| serviceId | Yes | The service ID | |
| startTime | Yes | Start time in HH:MM format | |
| resourceId | No | Resource ID | |
| bookingDate | Yes | Date in YYYY-MM-DD format |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Tool result payload — shape varies per tool, see the tool description | |
| summary | Yes | One-line human-readable summary of the action | |
| renderType | Yes | UI rendering hint for the result |