Cancel a booking
cancel_bookingCancel one booking under the provider's cancellation policy and email the client. Returns a preview first and only acts when confirm=true. No money moves through the assistant. Any refund or fee is applied by Appty, the same as the dashboard. The client pays anything still due on Appty.
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>"
},
"name": "cancel_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| confirm | No | Set true only after the caller has seen a preview and wants it done. Anything else, including the string "true", is a preview and changes nothing. | |
| booking_id | Yes |