Prepare a booking cancellation
prepare_booking_cancellationStage cancellation of a Square appointment OnHand created for this signed-in shopper; requires actions:prepare. Checks policy and cutoff; returns state, intent, booking_id, expires_at, cutoff and consequence, or an error. Obtain approval before confirming. No upstream cancellation or refund occurs in this call.
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>",
"idempotency_key": "<idempotency_key>"
},
"name": "prepare_booking_cancellation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| booking_id | Yes | ||
| idempotency_key | Yes |