ledger_append
Agent Job Ledger: append one entry (type tool_call|spend|receipt|handoff|failure|output|status|note|decision, any fields, amount_usd optional). Each entry is chained to the previous by sha256; secrets are refused. Header X-Ledger-Key. By OMENZ. (MCP calls run in AYNE, the free playzone; production: POST https://www.omenz.org/api/tollbooth/v1/ledger/append, $0.001 via x402.)
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": {
"ledger_id": "<ledger_id>",
"entry": "<entry>"
},
"name": "ledger_append"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry | Yes | ||
| ledger_id | Yes | ||
| x_ledger_key | No | the key returned by create (sent as a header on HTTP) |