Capture Viewport
capture_viewportScreenshot the Maya viewport to visually check modeling progress before or after changes, returning the PNG path for reuse.
Instructions
Screenshot the Maya viewport and return the image so you can see the scene.
Use this to visually check modeling progress before/after making changes. The returned path is also included for reuse.
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": "capture_viewport"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| camera | No | Look through this camera instead of the active viewport (e.g. 'persp', 'front'). | |
| output | No | Save the PNG to this path. Defaults to ~/.maya-mcp/captures/. | |
| session_key | No | Target Maya session; omit if only one is connected. |