Approve / complete / cancel a deal
approve_dealApprove, complete, or cancel a marketplace deal: confirm an action to mark it agreed and reserve the listing, mark it sold, or cancel and reopen the listing; without confirm, returns a preview.
Instructions
Human-approval step. action 'approve' (requires confirm:true) marks the deal agreed and reserves the listing; 'complete' marks it sold; 'cancel' cancels and re-opens the listing. Without confirm only a preview is returned.
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": {
"dealId": "<dealId>",
"action": "<action>"
},
"name": "approve_deal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| dealId | Yes | ||
| confirm | No |