capture_viewport
Render the current Blender viewport to a file or return a base64-encoded image for programmatic use.
Instructions
Render the viewport to a file or return as base64.
Args: filepath: Optional absolute path for output image. If empty, returns base64-encoded image. width: Render width in pixels, default 1920. height: Render height in pixels, default 1080.
Returns: Dict with filepath or base64 image data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| height | No | ||
| filepath | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||