Request booking action code
request_booking_action_codeEmail a 6-digit verification code to the booking owner, required before cancelling or modifying a booking. Step 1 of 2 — then call cancel_booking/modify_booking with the code.
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": {
"publicId": "<publicId>",
"action": "<action>"
},
"name": "request_booking_action_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Which action the code authorizes. | |
| publicId | Yes | The booking's public id. |