undo
Restore previous file states by undoing the latest checkpoint. Repeatedly invoke to step back through changes, enabling safe experimentation with AI-driven edits in Claude Code.
Instructions
Undo the last checkpoint (pops from stack and restores files). Each call removes the latest checkpoint from the stack. To undo multiple changes, call this function repeatedly until the desired state is reached.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
No arguments |