imgui_remove_widget
Removes a widget from a Dear ImGui window by specifying the window name and widget identifier, keeping the UI clean and up to date.
Instructions
Remove a widget from a window
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"window": "<window>",
"id": "<id>"
},
"name": "imgui_remove_widget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Widget identifier to remove | |
| window | Yes | Window containing the widget |