Verify compliance record
verify_compliance_recordCheck an action record's integrity offline: recompute its canonical digest, confirm the attestation matches, and recover the signer. Returns valid status, signer, and digest.
Instructions
Verify a Tersign action record against its attestation: recompute the record's canonical digest, confirm the attestation commits to that exact digest, and recover the signature. Fully OFFLINE — no network, no API key, no account. Use this for an action record (a disclosure or other non-payment agent action); use verify_receipt for a payment receipt. PASS proves integrity and internal consistency only. Authorship needs an out-of-band signer address: pass expectedSigner, or the identity is whatever the artifact claims about itself. Returns { valid, signer, digest }; on mismatch, valid:false plus the recovered signer and the recomputed digest.
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": {
"record": "<record>",
"attestation": "<attestation>"
},
"name": "verify_compliance_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| record | Yes | the action record object as issued (ComplianceRecordV1 shape). Pass the object, not a JSON string; any field edit changes the digest and fails verification — which is the point | |
| attestation | Yes | the attestation that accompanies the record: the signature over the record digest, as returned alongside it at issuance | |
| expectedSigner | No | 0x address the record MUST be signed by, obtained out-of-band (for the public ledger: https://tersign.ai/v1/ledger). Omit to recover the signer without enforcing it |