prepare_decision_log
Appends one entry to your hash-chained decision log. content_hash is the hash of your own RFC-8785-canonicalized decision record (never send the record itself -- see docs/decision-record-v1.md). seq starts at 0 and increments by 1 each call; prev must equal the previous entry's content_hash (omit only for seq=0). Returns a partially-signed transaction to sign and submit yourself.
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": {
"content_hash": "<content_hash>",
"seq": "<seq>",
"from_address": "<from_address>",
"api_key": "<api_key>"
},
"name": "prepare_decision_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seq | Yes | ||
| prev | No | ||
| api_key | Yes | ||
| algorithm | No | sha2-256 | |
| content_hash | Yes | ||
| from_address | Yes | ||
| idempotency_key | No |