restore_backup
Restore files from their most recent backup copies to recover previous versions or fix errors, with options to preserve backup files after restoration.
Instructions
Restore a file from its most recent backup (.bak)
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": {
"file": "<file>"
},
"name": "restore_backup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File to restore from backup | |
| keepBackup | No | Keep the backup file after restoring |