qt_menu_items
Retrieves the actions from a QMenu widget by reference, so an agent can inspect available menu options before clicking or automating them.
Instructions
Get actions from a QMenu widget.
Args: ref: Ref to a QMenu 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_menu_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |