ledger_append
Append action records to a tamper-evident hash-chained log, returning the chain hash. Use it to log consequential actions, making history verifiable and provably unaltered.
Instructions
Append one action record to a tamper-evident, hash-chained log. Returns the record's chain hash. Use this to log every consequential action (tool calls, payments, decisions) so the history can later be proven unaltered.
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": {
"record": "<record>"
},
"name": "ledger_append"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| record | Yes | Any JSON object describing the action (tool, args, result, actor, etc.). A `ts` timestamp is added if absent. |