rhino_viewport_image
Save the current viewport pixels to a PNG file, with optional size, transparent background, and output path, bypassing the render engine.
Instructions
Save the current viewport pixels to a PNG file.
Lightweight alternative to ``rhino_render_to_file`` — no render engine
is invoked, just a viewport bitmap dump. Use 0 for ``width``/``height``
to inherit the on-screen viewport size.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"args": "<args>"
},
"name": "rhino_viewport_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||