rollback_to_version
Revert files to a prior state within a session, optionally to a specific edit, to undo unwanted changes.
Instructions
Legacy: Rollback files to a previous version. Note: restore_file_snapshot is much faster.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| editId | No | Optional specific edit ID to rollback to. If not provided, rollback to session start. | |
| sessionId | Yes | Session ID to rollback within |