Revert File
revert_fileRestores a file to its state before the first write in the current session, letting AI agents undo debugging edits when a fix makes things worse.
Instructions
Restaura un archivo a como estaba antes del primer write_file de esta sesion. Usar si un intento de fix empeoro las cosas.
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": {
"path": "<path>"
},
"name": "revert_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |