Restore backup
restore_backupRestore a single file or all files from a backup session. The current project state is backed up first, allowing the restore to be undone.
Instructions
Restore project files from a backup session (see list_backups). Restores one file (project-relative path like 'data/Actors.json') or, with no file given, every file in the session. The current state is itself backed up first, so a restore can be undone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Project-relative file to restore; omit to restore all files in the session | |
| session | No | Backup session name from list_backups; defaults to the most recent |