Verify a payload receipt
verify_receiptVerify a Forestrie receipt offline against exact registered payload bytes and an entry ID at your chosen trust rung, returning mechanical stages and four trust answers.
Instructions
Verify a Forestrie receipt against the EXACT registered payload bytes and an entry id, at a trust rung you choose. Mirrors forestrie verify. Offline: no network, no key, no account. Returns both the mechanical stages and the four trust questions.
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": {
"receipt": "<receipt>",
"payload": "<payload>",
"entryId": "<entryId>",
"trust": "<trust>"
},
"name": "verify_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trust | Yes | Which anchor you are willing to trust (plan-2609-02 D2/D3) | |
| entryId | Yes | 32 lowercase hex: idtimestamp_be8 || mmrIndex_be8 | |
| payload | Yes | the EXACT registered payload bytes whose SHA-256 is the leaf ContentHash | |
| receipt | Yes | the COSE receipt |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| rung | Yes | ||
| stage | Yes | ||
| anchor | No | ||
| reason | No | ||
| stages | Yes | the mechanical stages, exactly the reference CLI's contract | |
| verifier | Yes | ||
| questions | Yes | the four trust questions. 'not_answered_at_this_rung' is a real answer and must be shown to the user, never collapsed into a pass. | |
| diagnostics | Yes | named notes about what the arithmetic could not separate |