cancel_booking
Cancel a booking on the signed-in account — Pending or Scheduled only. Use when the visit is no longer needed; guests cancel via their emailed manage link instead. Accepts: order_id (e.g. copied from my_bookings). Returns a cancellation notice; fails if the booking is not yours, is neither Pending nor Scheduled, or not signed in.
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": {
"order_id": "<order_id>"
},
"name": "cancel_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | The booking's order id (from my_bookings). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| status | No | Account tools: the booking's status after this call (Pending after book_appointment). | |
| message | Yes | Customer-facing outcome; relay it as written — bookings are requests until the notary confirms. | |
| manageUrl | No | Guest requests: the emailed confirm/cancel link, when one was minted (null otherwise). | |
| onAccount | No | True when the request was filed on the signed-in customer's own account — they can then list it with my_bookings and change it with reschedule_booking / cancel_booking. Absent or false means a guest request, managed through the emailed link. | |
| reference | No | Request / order reference for check_request_status (guest tools) or my_bookings (account tools). | |
| appendedToExisting | No | True when existing_reference was given and the request was extended, not duplicated. | |
| ourComparableQuoteCents | No | request_price_match only, when computable. |