ledger_verify
Recompute the audit ledger's hash chain and anchor locally, then compare them with the server's claims to verify integrity without trusting the server. Returns an integrity verdict.
Instructions
Recomputes the hash chain and the anchor on your machine from bytes fetched in this same call, then compares that against what the server says about itself. The server's own ok is shown but never trusted.
Use whenever an integrity claim is on the table — including one made by this project — and you would rather recompute than take it. Use ledger_items for contents only and ledger_export for the anchor only.
Returns verdict: agree (local recompute matches the server's claim), chain_broken (an entry does not match the recomputed chain, so the bytes you received differ from the bytes that were chained), or server_disagrees (the local chain is intact but the server's ok / count / chain_tail contradicts the entries it just served). structuredContent carries both sides plus the anchor.
Boundary: this verifies bytes, not facts. A complete chain also results from a false entry that was recorded honestly. Takes no parameters; fetches three read-only endpoints, writes nothing.
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": "ledger_verify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||