restore_backup
Restore a file from its most recent backup (.bak) on the MCP SmallEdit server. Optionally keep the backup file after restoration for added security or reference.
Instructions
Restore a file from its most recent backup (.bak)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
file | Yes | File to restore from backup | |
keepBackup | No | Keep the backup file after restoring |
Input Schema (JSON Schema)
{
"properties": {
"file": {
"description": "File to restore from backup",
"type": "string"
},
"keepBackup": {
"default": true,
"description": "Keep the backup file after restoring",
"type": "boolean"
}
},
"required": [
"file"
],
"type": "object"
}