krita_edit_history
Undo or redo exactly one native edit step in an active Krita document and await completion. Reuse the operation id after timeout to avoid repeating the step.
Instructions
Perform exactly one enabled native undo/redo step on the active document, then await completion. History includes user edits and is not scoped to bridge operations. Reuse operation_id to avoid stepping twice after timeout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| direction | Yes | ||
| document_id | Yes | ||
| instance_id | Yes | ||
| operation_id | Yes |