get_viewport_screenshot
Capture the current Blender 3D viewport as a PNG screenshot, choosing fast OpenGL mode or a full render, with an optional max pixel size.
Instructions
Capture a screenshot of the current Blender 3D viewport.
Args: max_size: Maximum size in pixels for the largest dimension (default: 1000). mode: Capture mode - 'fast' for instant viewport capture using OpenGL (default), 'full' for a complete render through the active render engine.
Returns: Dict with base64-encoded PNG image data, width, height, format, and mode.
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": "get_viewport_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | fast | |
| max_size | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||