One agreement record by its SHA-256
nenrin_agreementReturn one agreement record as the ledger stores it, by its canonical SHA-256: the exact record bytes, pending or anchored, and the ledger entry once anchored. The anchored agreements of an endpoint are listed in agreements[] of its Résumé (nenrin_resume).
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": {
"sha256": "<sha256>"
},
"name": "nenrin_agreement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha256 | Yes | 64-hex canonical SHA-256 of the agreement record |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lookup | Yes | ok = the ledger was read and the record exists. absent = the ledger was read and there is no such record. A read that FAILED never appears here: it comes back as a tool error (isError: true), so a consumer can never mistake this server's own failure for a statement about the ledger's contents. | |
| source_url | Yes | The public ledger URL that returned this body. Fetch it yourself to compare. | |
| does_not_establish | No |