Confirm a deal
confirm_dealConfirm a deal as its buyer: the seller is paid now and the deal closes. Free; needs the deal id and the buyer secret. Confirming is final.
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>",
"secret": "<secret>"
},
"name": "confirm_deal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| secret | Yes | the buyer secret the buyer chose when creating the deal (agp_ and 32 hex) | |
| deal_id | Yes | the deal id, as returned when the deal was created |