qt_scene_snapshot
Capture all items from a QGraphicsScene to inspect and debug PySide6 desktop application interfaces.
Instructions
Get all items in a QGraphicsScene.
Args:
ref: Ref to a QGraphicsView widget.
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_scene_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |