undo_redo_manage
Manage Godot editor's undo/redo history by inspecting stack depth, active action, and history IDs, then execute undo or redo actions to adjust changes.
Instructions
Editor Undo/Redo History Introspection and Transaction Execution.
Ops:
get_history() Query active action name, undo stack depth, and history IDs.
undo() Execute an undo action in the active editor.
redo() Execute a redo action in the active editor.
Canonical call shape: {"op": "<verb>", "params": {...}}. Flat op parameters are accepted as a compatibility alias when the client transmits them; op and session_id remain top-level.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | ||
| params | No | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||