render_viewport
Capture the current Houdini 3D viewport to an image file, with optional camera, resolution, and settle delay so Karma views can converge before capture.
Instructions
Capture the current 3D viewport to an image file.
Args: output_path: Image file path; variables ($JOB) are expanded. Default: a new PNG in the temp dir. resolution: [width, height] in pixels. Default: the viewport's own size. camera: Camera node path. settle_seconds: Wait this long before capturing, without blocking Houdini, so a Karma viewport can converge after a change. Use this instead of a shell sleep between calls. Capped at 120.
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": "render_viewport"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| camera | No | ||
| resolution | No | ||
| output_path | No | ||
| settle_seconds | No |