imgui_export_json
Export the current UI layout to structured JSON, including version, window properties, and widgets. Optionally save to a file or get inline output.
Instructions
Export the current UI layout as structured JSON with version info, window properties, and all widget definitions.
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_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional file path to write the JSON to. If omitted, JSON is returned inline. |