Verify a receipt
verify_receiptVerify an ActionProof receipt offline to confirm its signature and identify the signing agent. Optionally validate that supplied parameters or results match the receipt's hashes.
Instructions
Verify a signed ActionProof receipt offline. Returns whether the signature is valid and which agent did:key signed it. Optionally re-check that supplied params/result match the hashes in the receipt.
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": {
"signed_receipt": "<signed_receipt>"
},
"name": "verify_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expect_params | No | If provided, verify these params match the receipt's params_hash. | |
| expect_result | No | If provided, verify this result matches the receipt's result_hash. | |
| signed_receipt | Yes | The SignedReceipt JSON (as produced by attest_action). |