imgui_move_window
Reposition a Dear ImGui window to a specified X and Y coordinate by providing its window identifier, enabling real-time UI layout adjustments during live preview.
Instructions
Move a window to a new 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>",
"x": "<x>",
"y": "<y>"
},
"name": "imgui_move_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | New X position | |
| y | Yes | New Y position | |
| id | Yes | Window identifier |