Cancel a booking
cancel_bookingUse this when the user wants to cancel a booked local home-service appointment. Pass the cancel_url from request_booking. This cancels the booking, sets status to canceled, and sends a cancellation email when the row changes. canceled is true only after the booking is canceled. A result with canceled false means the booking was not canceled; do not tell the user it was. An on-site visit stays visit_type on_site.
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": {
"cancel_url": "<cancel_url>"
},
"name": "cancel_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | Token from the cancel_url query string. Required when cancel_url is omitted. | |
| shop_id | No | Enrolled shop id from search_businesses. Examples: florida-pole-barn, florida-security-concepts, booqer-demo-shop. | |
| cancel_url | Yes | Cancel link returned by request_booking, including the token. Example: https://booqer.ai/shops/florida-security-concepts/requests/11111111-1111-4111-8111-111111111111/cancel?token=example. | |
| request_id | No | Booking id returned by request_booking. UUID. Example: 11111111-1111-4111-8111-111111111111. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||