Preview or restore a backup
restore_backupRestore files from an FTC Toolchain backup. Preview changes first; confirmed restoration backs up current files and never deletes them.
Instructions
Preview restoration from an ftc-toolchain backup, optionally selecting relative file paths. No files change unless confirm is true; a confirmed restore backs up current versions first and never deletes files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Relative paths to restore; defaults to every file in the snapshot | |
| confirm | No | Must be true to write; omitted/false returns a side-effect-free preview | |
| backupId | Yes | Exact snapshot ID returned by list_backups | |
| projectPath | No | Path to the FtcRobotController SDK project. Defaults to $FTC_TOOLCHAIN_PROJECT_DIR, then the workspace clone made by create_project. |