capture_screenshot
Capture the current Houdini Scene Viewer as PNG pixels with JSON metadata, using viewport or OpenGL ROP, for scene inspection, review, or sharing.
Instructions
Capture the current Scene Viewer and return the pixels in-band.
source='viewport' is a flipbook snapshot of the current Hydra buffer
(does not wait for Karma XPU to converge; restores renderer pause).
source='opengl' uses an OpenGL ROP (OBJ-centric beauty).
For a full desktop/UI grab, use capture_desktop (runs outside houdini-bin).
Returns JSON metadata plus an MCP image of the PNG. Path is still in the JSON.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | viewport | |
| viewer | No | ||
| output_path | No |