audit_chain_verify
Verifies hash chain integrity of GovernanceEvents, checking monotonic event IDs, prev_hash linkage, and event hash consistency. Returns validation result with break location and reason.
Instructions
Walk an array of GovernanceEvents top-to-bottom and verify the hash chain: monotonic event_id, prev_hash linkage, self-consistency of each event's hash. Returns { valid, checked, first_break_at, reason }, the same shape audit-stream-py's GET /verify endpoint emits.
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": {
"events": "<events>"
},
"name": "audit_chain_verify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | Yes |