ui_invoke
Invoke a no-argument QML method or signal on a Cascadeur UI element—such as clicked, toggle, open, or close—when direct on-screen clicking is not possible.
Instructions
Invoke a no-argument QML method or signal on an element, e.g. 'clicked', 'toggle', 'open', 'close'. Useful when an element cannot be clicked on screen.
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>",
"method": "<method>"
},
"name": "ui_invoke"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Element ref from the latest ui_tree or dialogs result. | |
| method | Yes |