restore_from_history
Restore a file to a specific historical version using its index in local history. Optionally back up the current file before restoration.
Instructions
Restore a file to a specific point in its local history
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | The absolute path to the file to restore (e.g., "/Users/user/project/biome.json"). | |
| entryIndex | Yes | The index of the history entry to restore (0 = most recent) | |
| createBackup | No | Whether to create a backup of the current file before restoring |