history
Revert or advance document changes within your Inkscape design. Control the undo/redo stack precisely, guarding against stale edits after agent intervention.
Instructions
Undo or redo n steps in the live document (the same stack as the user's Cmd+Z). Pass expected_revision so an undo never takes back something the user did after your edit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| op | No | undo | |
| expected_revision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |