verify_capsule
Verify a signed provenance capsule by recomputing its hashes and ID and checking the Ed25519 signature, trusted signer key, and chain link, returning the verdict with full evidence.
Instructions
Verify one capsule mechanically: recompute the record or payload hash, the extract hash or hashes (when you supply the extracts), and the capsule id, check the Ed25519 signature, check the signer against a trusted key when you supply one, and check the author link and the chain link when a chain is configured. The verdict names the capsule record type and version. Returns the verdict and the full evidence trail in one response.
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": {
"capsule": "<capsule>"
},
"name": "verify_capsule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| capsule | Yes | A provenance capsule, as returned by attest_record. | |
| extract | No | Optional. The source extract to check against the capsule. Without it, the extract check is reported as not checked. | |
| extracts | No | Optional. For a version 2 capsule: the source extracts to check against its sealed extract hashes. Every supplied extract must match one of them. | |
| 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. |