Cancel a booking
cancel_bookingFor a signed-in personal AI agent: cancel a visit, once the person approved the operation it returns (free or late, credits back). If the free window closes in between, the terms change and it asks again rather than forfeit credits the person did not agree to lose.
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": {
"bookingId": "<bookingId>"
},
"name": "cancel_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| approval | No | The approval of the operation this tool returned with approval_required: { operation_id, revision, approver: "user" }, all three required; only the person approves. Call once without it, show operation.summary to the person, then call again with structuredContent.approval as it came. | |
| bookingId | Yes | ||
| expectFree | No | ||
| idempotencyKey | No | Any unique string per intended action. A retry with the same key answers with the first result and never acts twice. |