capture_screenshot
Save a screenshot of the active SolidWorks model view to a specified image file with optional width and height settings.
Instructions
Capture a screenshot of the current model 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": {
"outputPath": "<outputPath>"
},
"name": "capture_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outputPath | Yes | Output image path (.png, .jpg, .bmp) | |
| width | No | Image width in pixels | |
| height | No | Image height in pixels |