Paint: undo / redo
paint_undoUndo or redo canvas edits by rolling the drawing back or forward one operation at a time. Use action:steps to inspect the undo/redo stack without changing the canvas.
Instructions
Roll a canvas back or forward. Each drawing operation is one step (a paint_ops batch rolls back one step per op). Use action:'steps' to see the stack without changing anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | How many steps to roll back or forward | |
| action | No | undo | |
| canvas | Yes | Canvas name. Letters, digits, space, dot, dash, plus; the .png/.paint suffix may be included or omitted. | |
| preview | No | Image reply: auto/thumb = downscaled picture back into the result, full = unpixelated, none = text only |