capture_viewport
Save a Maya viewport or model panel image to a file with configurable camera, size, and overwrite options; fall back to Maya Software render in standalone mode.
Instructions
Capture a GUI model panel; in standalone, return a Maya Software render marked fallback.
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": {
"path": "<path>"
},
"name": "capture_viewport"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| names | No | ||
| width | No | ||
| camera | No | front | |
| height | No | ||
| overwrite | No | ||
| frame_names | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||