imgui_undo
Reverse the last destructive change to your Dear ImGui UI, restoring the previous state while preserving the undone action for potential redo.
Instructions
Undo the last destructive operation (add/remove/update widget, remove window, clear all). The undone state is pushed to the redo stack.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "imgui_undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||