imgui_get_viewport_size
Retrieve the current ImGui viewport (SDL window) dimensions to enable responsive UI layout decisions and coordinate-based element positioning within live Dear ImGui design sessions.
Instructions
Get the current viewport (SDL window) dimensions
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_get_viewport_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||