imgui_window_control
Adjust window properties including position, size, collapsed state, focus, background transparency, and scroll position to manage Dear ImGui UI layouts in real time.
Instructions
Control a window's properties: position, size, collapsed state, focus, background alpha, or scroll position.
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": {
"id": "<id>",
"action": "<action>"
},
"name": "imgui_window_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Window identifier | |
| value | No | Value for the action: [x,y] for set_pos/set_size, bool for set_collapsed/set_focus, float for set_bg_alpha, [x,y] for set_scroll | |
| action | Yes | Control action to perform |