get_viewport_screenshot
Capture a 3D viewport screenshot via GPU offscreen rendering, even when the window is not in the foreground. Falls back to window grab if GPU is unavailable, returning the image filepath.
Instructions
Screenshot of 3D viewport via GPUOffScreen (fix Bug #189 — black when window not foreground). Falls back to window grab if GPU unavailable. Returns {success, width, height, filepath, method}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | png | |
| filepath | No | /tmp/supermcp_viewport.png | |
| max_size | No |