deal_check
DEALS (buyer): check a delivered step against the seller's signed fingerprint. Free (no transaction). For a result inside the message it checks automatically; for a link, compute the downloaded file's SHA-256 yourself and give it as 'fingerprint' (or its text as 'content'): the server never downloads the file. A NO MATCH blocks your next deal_pay until a check gives MATCH. Returns {ok, match, verdict, fingerprint_sha256, txid, seller_signer}. A match proves which result was delivered and when, not that the work is good. Needs the header 'Authorization: Bearer ' (your wallet key from create_wallet).
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": "deal_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step | No | Step to check (default: the latest delivered) | |
| content | No | Optional: the text you received, to fingerprint | |
| deal_id | Yes | The deal id | |
| fingerprint | No | Optional: SHA-256 of the file you downloaded |