ledger_items
List read-only entries from the DrawCommons public audit ledger, filtered by give, receive, or payback and paged with limit/offset, to see what was declared and its hashes.
Instructions
Lists entries in the DrawCommons public audit ledger (read-only). Each entry is a give / receive / payback record carrying prev_hash and hash.
Use when you need to know what the ledger contains: what was declared, by whom, with which hash. Use ledger_export instead when you need the anchor (the sha256 of the whole export), and ledger_verify when you need to know whether the chain is intact.
Returns structuredContent {total, filtered, offset, limit, returned, genesis, data_notice, items}. total is read live from the server on every call and is never hardcoded. data_notice states whether the ledger still holds test data — read it before citing any count or amount.
Read-only and credential-free: one public HTTPS endpoint, nothing written. A filtered or truncated slice is not a contiguous chain segment — prev_hash still points at the previous entry of the full chain — so do not verify the chain from such a slice.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ledger_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Optional filter: give, receive or payback. A filtered slice is no longer a contiguous chain segment. | |
| limit | No | Max entries returned, 1-200 (default 20). One tool result should not flood the context window. | |
| offset | No | Skip the first N entries (default 0); page with limit. |