imgui_export_cpp
Generate C++ ImGui source code that reproduces the current UI layout, preserving all windows, widgets, and their live values, with the option to write directly to a file.
Instructions
Export the current UI layout as C++ ImGui code that recreates all windows and widgets with their current values.
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_export_cpp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional file path to write the C++ code to. If omitted, code is returned inline. |