revert_write
Undo a committed write by staging a new operation that restores the pre-commit content. The reversal goes through normal review, and commit_write applies it.
Instructions
Undo a committed write: stages a NEW op restoring the pre-commit content (goes through normal review — commit_write applies it).
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": {
"commit_id": "<commit_id>"
},
"name": "revert_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commit_id | Yes |