ui_click
Simulates real mouse clicks on a Cascadeur UI element by ref or query, or at window coordinates, supporting right/middle buttons, double clicks, and modifier keys.
Instructions
Click like a real user (synthesized mouse events) on an element by ref or query, or at window coordinates x/y. Supports right/middle button, double click and modifiers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| ref | No | Element ref from the latest ui_tree or dialogs result. | |
| force | No | Skip safety guards (e.g. the Rig-mode check before rig generation). | |
| index | No | Pick the n-th best match for query (default 0). | |
| query | No | Text, tooltip, actionId or objectName to find an on-screen element. | |
| button | No | ||
| double | No | ||
| window | No | Window index or title substring (default: focused/main window). | |
| modifiers | No | e.g. ["ctrl"], ["shift"] | |
| settle_ms | No | Milliseconds to wait for the UI to update before returning (default 150). |