qt_object_tree
Inspect the full QObject parent-child tree for a Qt application or widget from a chosen root, including non-visible objects, with an optional traversal depth limit.
Instructions
Get the full QObject parent-child tree (not just visible widgets).
Args: root_ref: Starting ref. Defaults to QApplication root. max_depth: Maximum traversal depth.
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": "qt_object_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No | ||
| root_ref | No | ||
| max_depth | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |