Supplier Proof: approve or reject
supplier_proof_decideApprove a supplier's proof (issues a certificate naming both companies and the evidence fingerprints, sealed on chain, with a public verify page and badge) or reject it with a reason. Requires the organization API key.
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": {
"sub_id": "<sub_id>",
"approve": "<approve>"
},
"name": "supplier_proof_decide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Required when rejecting, so the supplier can fix it | |
| sub_id | Yes | Submission ID (sub_...) | |
| approve | Yes | true issues the certificate; false rejects |