catia_screenshot
Capture the CATIA window or only the 3D view to a PNG/JPG file for reports and verification. Use window mode for full UI, viewer mode for geometry only.
Instructions
Capture CATIA. mode='window' (default): the whole CATIA window, specification tree included, as PNG — rendered by CATIA itself, so it is correct even when CATIA is behind other windows (what report screenshots need). mode='viewer': only the 3D view through CATIA's CaptureToFile (JPG/BMP/TIFF; a .png path becomes .jpg).
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": {
"file_path": "<file_path>"
},
"name": "catia_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | window | |
| file_path | Yes | Output image path (e.g., 'C:/screenshots/part.png') |