restore_backup
Restores a specified XMind backup to a target .xmind file and creates a backup of the current file before overwriting, so changes remain reversible.
Instructions
把指定备份恢复到目标文件(覆盖前会把当前文件再备份一份,保证可逆)。
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_path": "<file_path>",
"backup_path": "<backup_path>"
},
"name": "restore_backup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | .xmind 文件路径 | |
| backup_path | Yes | 要恢复的备份文件路径,可用 list_backups 获取 |