Restore backup
restore_backupRestore an Excel workbook from its .bak backup file, atomically overwriting the target .xlsx/.xlsm to recover a previous state.
Instructions
Replace a workbook with one of its .bak backups, atomically.
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": {
"backup_path": "<backup_path>",
"target_path": "<target_path>"
},
"name": "restore_backup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backup_path | Yes | The .bak file to restore from (created by writes with backup enabled). | |
| target_path | Yes | The .xlsx/.xlsm workbook to overwrite. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||