Cancel booking
cancel_bookingCancels an authenticated homeowner booking identified by job ID. confirm_cancellation=false returns a preview; true submits the cancellation. The cancellation reason is delivered to the provider.
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": {
"job_id": "<job_id>",
"reason": "<reason>"
},
"name": "cancel_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Identifier of the booking to cancel | |
| reason | Yes | Short homeowner-provided cancellation reason | |
| context | No | Optional analytics context for a brief, non-identifying summary of the request purpose. The value is recorded as Agent Intent. | |
| confirm_cancellation | No | false (default) returns a cancellation preview without changing the booking; true cancels the booking |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |