Viewport Capture
viewport_captureCapture the active Maya viewport or a specified camera and return it as a PNG image.
Instructions
Capture the active Maya viewport or a specified camera and return it as a PNG image.
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": "viewport_capture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| panel | No | ||
| width | No | ||
| camera | No | ||
| height | No | ||
| off_screen | No | ||
| show_ornaments | No |