Confirm a held time with the client's code
confirm_bookingUse this when the person reads you the 6-digit code from the email hold_booking sent them. Books the held time: the answer is confirmed, or requested when the business looks at new bookings before accepting them, with the booking's reference. If someone else took the time first, it offers up to three other times. A wrong code is refused and says how many tries are left. Do not use for a code the person did not give you themselves, or to try codes.
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": {
"holdId": "<holdId>",
"code": "<code>"
},
"name": "confirm_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The 6-digit code from the email, as the person read it to you. | |
| holdId | Yes | The holdId hold_booking answered with. | |
| language | No | The language to answer in (BCP 47). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | The booking's reference, for the person to quote to the business. | |
| meta | Yes | ||
| status | Yes | ||
| booking | No | ||
| nextStep | Yes | What to tell the person next. | |
| alternatives | No |