Cancel deal
cancel_dealCancel an offered or accepted sponsorship deal with a two-step, human-approved preview and confirmation; the action cannot be undone.
Instructions
Cancels an offered or accepted deal. Cannot be undone. TWO-STEP: the first call (no confirm_token) only returns a preview and a confirm_token; nothing is written. Show the preview to the user, and only after they approve call again with the same arguments plus confirm_token.
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": {
"deal_id": "<deal_id>"
},
"name": "cancel_deal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| deal_id | Yes | ||
| confirm_token | No | Omit on the first call to get a preview. Pass the token from the preview (with identical arguments) to apply the change. |