Revert note to exact history
revert_noteUndo a bad note write by restoring exact prior content-addressed bytes, passing expected_hash for compare-and-swap. The rollback remains reversible and logged.
Instructions
Use this to undo a bad write by restoring exact prior bytes. Restore a note to exact content-addressed history bytes. Pass the current content_hash as expected_hash for CAS. The revert is itself durable, reversible, indexed, and operation-logged.
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": {
"note": "<note>",
"to_hash": "<to_hash>"
},
"name": "revert_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| to_hash | Yes | ||
| request_id | No | ||
| expected_hash | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| indexed | Yes | ||
| rel_path | No | ||
| replayed | No | ||
| reverted | No | ||
| committed | No | ||
| content_hash | Yes | ||
| operation_id | No |