cancel_and_refund_booking
Mutation/readOnly:false, script-tier/no-model-token action. Cancel a paid booking and refund the customer in full. Requires the Admin role. Without confirm:true this returns a preview naming the customer, booking and amount; with confirm:true it cancels and refunds. Call get_booking first to verify the booking.
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": {
"bookingId": "<bookingId>",
"proAccessToken": "<proAccessToken>"
},
"name": "cancel_and_refund_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to cancel and refund. Omit to preview. | |
| bookingId | Yes | From list_bookings or the owner. | |
| proAccessToken | Yes | The proAccessToken printed by confirm_pro_signup or renew_pro_access. It names the pro's storefront for this call and is valid for 24 hours. |