Undo the last change
undo_last_changeRevert the last change made by the file manager: restore a file from backup, remove a created file, or bring back a deleted item from trash. Undo multiple steps in a row.
Instructions
Reverts the last change made by the server: restores a file from its backup, removes a created file, or brings back a deleted item from the trash. Multiple steps can be undone in a row.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "undo_last_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | Number of recent changes to undo |