Cancel a confirmed booking
owner_cancel_bookingOnly for business owners signed in to Awning. Cancels a booking on behalf of the business and notifies the client. Always ask the owner to confirm first. Use it for a booking that was already confirmed; a request that waits for an answer is declined with owner_decide_booking. A customer cancelling their own booking uses cancel_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": {
"booking_id": "<booking_id>",
"reason": "<reason>"
},
"name": "owner_cancel_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why: the client sees it in the message they get | |
| booking_id | Yes | The booking: booking_id from owner_list_bookings |