get_view
Capture the FreeCAD 3D viewport or full application window as a PNG, optionally specifying view angle, image size, and an object to focus before taking the screenshot.
Instructions
Capture the 3D viewport (capture_scope='viewport') or full FreeCAD window ('window') as PNG.
Args: view_name: 'Current', 'Isometric', 'Front', 'Top', 'Right', 'Back', 'Left', 'Bottom', 'Dimetric', or 'Trimetric'. width: Optional explicit image width (auto-scaled <=1024px viewport / <=1280px window). height: Optional explicit image height. focus_object: Optional object name to zoom/fit before capturing. capture_scope: 'viewport' for clean 3D render, or 'window' to include Task panels, Combo View, and dialogs.
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": "get_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| height | No | ||
| view_name | No | Current | |
| focus_object | No | ||
| capture_scope | No | viewport |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |