writ_verify_receipts
Verify the tenant audit-log hash chain and report whether it is intact.
Instructions
Verify the tenant audit-log hash chain and report whether it is intact.
Walks the tenant's receipt chain from its head, recomputing every visited
receipt's HMAC. This is the endpoint behind ./writ verify-chain: use it
to prove the audit log has not been tampered with.
Args: limit: Max receipts to verify, newest first. Default 200, clamped to the range 1..1000.
Returns the gate payload verbatim: ok (chain intact), checked (receipts verified), tip and tipReceipt (chain head), chainedFrom, legacyCount, and complete. Verification stops at legacy (pre-chain) receipts and reports them as legacyCount.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "writ_verify_receipts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |