chain_verify
Verifies every entry link, capsule, and daily root artifact in a provenance chain. Detects removed or altered entries, date mismatches, and signatures from untrusted keys.
Instructions
Verify the whole chain: every entry link, every capsule in it, and every daily root artifact in the roots folder. A removed entry, an altered entry, and a root whose date does not match its entries all fail here.
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": "chain_verify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roots_dir | No | Optional. Folder holding the daily root artifacts. Falls back to the PROVENANCE_ROOTS environment variable. | |
| chain_path | No | Optional. Path to the chain file. Falls back to the PROVENANCE_CHAIN environment variable. | |
| trusted_public_key | No | Optional. The public key hex of the signer you trust. When given, a capsule or a root signed by any other key fails. |