get_view
Capture a screenshot of the active CAD view from a chosen angle, optionally focusing on a specific object and setting output width or height.
Instructions
Get a screenshot of the active view.
Args: view_name: The name of the view to get the screenshot of. The following views are available: - "Isometric" - "Front" - "Top" - "Right" - "Back" - "Left" - "Bottom" - "Dimetric" - "Trimetric" width: Requested width in pixels. With both dimensions omitted, the viewport is scaled to a maximum edge of 1024 pixels. If only one dimension is omitted, that dimension uses the viewport size. height: Requested height in pixels, following the same sizing rules. focus_object: The name of the object to focus on. If not specified, fits all objects in the view.
Returns: A screenshot of the active view.
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": {
"view_name": "<view_name>"
},
"name": "get_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| height | No | ||
| view_name | Yes | ||
| focus_object | No |