Prepare a booking
prepare_bookingChecks that the time is still free and returns a confirm_url. Nothing is booked yet: the user opens the link, signs in and confirms (deposit and terms of the studio apply there).
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": {
"studio_id": "<studio_id>",
"service_id": "<service_id>",
"date": "<date>",
"start_time": "<start_time>"
},
"name": "prepare_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | YYYY-MM-DD | |
| studio_id | Yes | studio_id from search_studios (or the handle from a profile link) | |
| service_id | Yes | ||
| start_time | Yes | HH:mm in the studio time zone, exactly one of the start times from find_free_slots | |
| employee_id | No | Optional, group studios |