imgui_screenshot
Capture a screenshot of the current ImGui frame and save it as a BMP or PPM file to a specified path, defaulting to the system temporary directory for quick UI state preservation.
Instructions
Capture a screenshot of the current ImGui frame and save it as a BMP file.
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_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | File path to save the screenshot (defaults to the system temporary directory) | |
| format | No | Image format (currently only bmp is supported natively) |