receipt_with_proof
Spec 003 / ADR-044 decision 3. Returns the RFC 6962 inclusion proof for one sequenced receipt against the latest Signed Tree Head, plus the receipt itself where it may be shown.
Use this tool when:
An agent found a receipt with
ledger_searchand wants to verify it offline. The 2-call path:ledger_search(find the hit), thenreceipt_with_proof(the receipt + inclusion proof + STH), thenscripts/verify-log.mjs inclusion proof.json --key <log key> --receipt receipt.jsonwith no further calls.
Inputs:
id(path, required): the unifiedreceipt_idor a lens alias.
Returns:
Always:
leaf_index,tree_size,leaf_hash,audit_path,root_hash,sth(the same fields asreceipt_log_inclusion_proof),receipt_idandlens.receipt: the exact stored document for public rows (lensconfigwith achange:ortoolset:subject, already public through/v1/changesand/v1/ledger) and for the owning customer. Otherwisereceipt: nullandreceipt_withheld: "private".
What this proves: the receipt is byte-identical to the one sequenced into the log — not that the observation inside it was correct.
Cost:
Counts as one request against the daily rate limit.
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": {
"id": "<id>"
},
"name": "receipt_with_proof"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |