Undo: restore a backup
iwork_restore_backupUndo changes by restoring an iWork file to a backup version. The current version is backed up first, so the restore can itself be undone.
Instructions
Undo: atomically restore a backup (a name from iwork_list_backups). The current version is backed up first. Use to undo a change, with a backup name from iwork_list_backups. The current version is backed up first, so a restore can itself be undone.
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": {
"path": "<path>",
"backup": "<backup>"
},
"name": "iwork_restore_backup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the .numbers, .key or .pages file (absolute, or starting with ~). | |
| backup | Yes | Backup name from iwork_list_backups. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||