Undo the last Godotwright writes
godot_undoRevert recent Godotwright writes—scene/project edits, renames, migrations, fixes, and model builds—newest first to recover from harmful changes without manual repair.
Instructions
Undo what Godotwright wrote, newest first: scene and project edits, renames (moved files go back), migrations, fixes and model builds each keep the files as they were, in .godot/godotwright/journal/ (the last 40 writes). steps undoes that many writes (default 1); list only shows them. A file changed after the write (by hand or by another tool) stops the undo there, so your later edits are never lost silently; force undoes anyway. Use it when a write made things worse, instead of repairing by hand.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list | No | only list the writes that can be undone | |
| path | No | The project folder, or any file or folder inside it (Godotwright walks up to project.godot). Relative paths start at the server's folder. Default: the current project. | |
| force | No | undo even when a file changed after the write; those changes are lost | |
| steps | No | how many writes to undo (default 1) |