inam_verify_receipt
Runs registry integrity checks on an INAM work receipt and returns pass/fail per-check results, inclusion proof, and registry attestation without re-executing the work.
Instructions
Runs the registry's integrity checks on one receipt and returns a verdict ('pass' or 'fail') with per-check results: finalized, agent_b_signature, agent_a_signature, receipt_id (content-addressed id), transparency_log (leaf present, inclusion proof, logged content matches), hash_format (specHash/outputHash are sha256: + 64 hex; fails on pre-v0.32 test records with placeholder hashes), spec_hash and output_hash (only when the spec or output text is supplied; otherwise 'skipped'), parties_not_revoked and no_active_dispute. Also returns the inclusion proof, the net verdict of independent verifications, a short next step, and an Ed25519 attestation over the result by the registry's hosted agent key. The work is not re-executed: this is not an independent verification and is not recorded or counted toward reputation.
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": {
"receiptId": "<receiptId>"
},
"name": "inam_verify_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | No | exact task spec text; checked against the receipt's task.specHash | |
| output | No | exact output text; checked against the receipt's result.outputHash | |
| receiptId | Yes | sha256:... receipt id |