ledger_export
Fetches the canonical export bytes and computes their sha256 locally, so you can pin a ledger version or compare two moments against the anchor shown on the /ledger page and /llms.txt.
Instructions
Fetches the canonical export bytes and computes their sha256 locally. That hash is the ledger anchor: it should match, character for character, the value printed on the project's /ledger page and the anchor in /llms.txt.
Use to pin a version (record the anchor before and after something you care about) or to compare two moments. Use ledger_items for contents and ledger_verify for the chain.
Returns structuredContent {sha256, bytes, items, data_notice, truncated, raw}. include_raw=true also returns the export text; above 200,000 bytes only the leading 200,000 are returned and truncated is set, because a silently cut JSON would look complete while being unusable for hashing.
Read-only and credential-free: one public HTTPS endpoint, nothing written.
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_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_raw | No | true also returns the export text, capped at 200000 bytes (see truncated). |