imgui_create_window
Create a new ImGui window to serve as a container for widgets, with control over position, size, and window flags to customize its behavior and appearance.
Instructions
Create a new ImGui window. Windows are containers for widgets. Supports positioning, sizing, and window flags.
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>",
"title": "<title>"
},
"name": "imgui_create_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | No | Initial height (default 300) | |
| w | No | Initial width (default 400) | |
| x | No | Initial X position (-1 for default) | |
| y | No | Initial Y position (-1 for default) | |
| id | Yes | Unique window identifier | |
| flags | No | Window flags to apply | |
| title | Yes | Window title bar text |