get_widget_info
Inspect a widget's detailed properties and current state—geometry, text, visibility, enabled status, and dynamic Qt properties—to debug or verify UI behavior in PySide6 applications.
Instructions
Get detailed properties and state of a specific widget. Includes geometry, text, enabled/visible state, and dynamic Qt properties.
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": {
"widget_id": "<widget_id>"
},
"name": "get_widget_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | App pid from launch_app. Omit to target the last launched app. Required only when several apps are running and you need a specific one. | |
| widget_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |