Undo your own last change to a project
r3_editor_undoUndo the last change YOU (this agent key or app connection) made to a project: everything one of your tool calls changed is undone together, and the user sees it at once in any R3 tab that has the project open. Use it when your own change was wrong or the user asks you to take it back. It never undoes the user's changes or another agent's: only yours. count undoes your last few changes, newest first.
If someone else changed the same thing after you, that change of yours is SKIPPED: nothing is changed, the answer says who changed what, and that change of yours is dropped from your history (the next call takes the one before it). Their change stands: setting your old value back over theirs is the user's decision, not this tool's.
redo: true puts back what you undid (until you make a new change). Needs project:write (and code:write to undo a change to code).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| redo | No | true: redo what you undid instead of undoing. | |
| count | No | How many of your changes to undo (or redo), newest first (default 1, at most 20). | |
| projectId | Yes | The project (r3_project_list). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| left | Yes | ||
| steps | Yes | ||
| answer | Yes | This answer in words: what was done, what R3 measured, decided or refused, and what to do next. The same text as the result's text block. Read it: the fields beside it are the data, this is the guidance. | |
| headSeq | Yes | ||
| direction | Yes | ||
| projectId | Yes | ||
| skippedSteps | Yes |