verify_evidence_package
Ask Dokimo to check one record of an evidence package against the on-chain anchor.
Sends the package to Dokimo's public A2A endpoint, which recomputes the Merkle
proof AND checks the anchored commitment (root + rule version, plus the close
summary for v2) against the anchor on Base. The verdict is Dokimo's answer and
is not signed. ``package`` must contain: ``leaf`` (str), ``root`` (str),
``proof_path`` (list of [sibling_hash, "L"|"R"]), and
``rule_version_commitment`` (str); for a v2 close also ``summary`` and
``binding``; ``close_id`` is optional/echoed.
Returns the verdict: ``{verified, checks:{recompute, onchain_anchor,
rule_version_bound}, ...}``. ``verified`` is true only if the proof recomputes
AND the commitment is anchored on-chain. It covers this one record only.
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": {
"package": "<package>"
},
"name": "verify_evidence_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | The Dokimo evidence package to verify. Required keys: 'leaf' (str), 'root' (str), 'proof_path' (list of [sibling_hash, "L"|"R"]), and 'rule_version_commitment' (str). For a dokimo-anchor-v2 close (every close anchored after the v2 cutover) also 'summary' (the close summary) and 'binding' (the leaf's evidence binding); without them the package is checked as legacy v1. 'close_id' (str) is optional and echoed back. |