revert_approval
Revert an approved memory edit proposal by restoring the exact original snapshot and soft-deleting the approved replacement in one transaction. Use the replacement proposal ID, not the target ID.
Instructions
Revert an approved edit proposal. Restores the exact original target snapshot and soft-deletes the approved replacement in one transaction. Pass the replacement id (the proposal_id returned by propose_memory_edit), not the target id. Refuses if the replacement was edited after approval or the target changed, because either would discard newer knowledge. Repeated calls report already_reverted. Admin/review auth; requires a registered admin key once keys are configured.
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": {
"memory_id": "<memory_id>"
},
"name": "revert_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for agent authentication (required if agent has a registered key) | |
| agent_id | No | Admin identity performing the review rollback. | unknown |
| memory_id | Yes | ID of the approved replacement memory (the proposal id returned by propose_memory_edit), not the original target id. |