restore_checkpoint
Restore the current branch to a past checkpoint while preserving later checkpoints. Reloads the editor and returns the resulting version control status.
Instructions
Restore (soft revert) the current branch's working state to a checkpoint. History is preserved — later checkpoints remain. This RELOADS the editor; the tool waits for it to reconnect and returns the resulting vcs_status. When NOT to use: to permanently erase later checkpoints (use hard_reset_checkpoint).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branchId | No | Branch to restore on (defaults to the current branch) | |
| checkpointId | Yes | Id of the checkpoint to restore (from list_checkpoints) |