qt_vtk_screenshot
Capture a VTK render window from a referenced Qt widget and convert it into an image for inspection, debugging, or documentation.
Instructions
Capture a VTK render window to an image.
Args: ref: Ref to a widget containing a VTK render window.
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": {
"ref": "<ref>"
},
"name": "qt_vtk_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |