ui_invoke
Click Windows UI elements (button, menu item, checkbox) by name or index from ui_find. Requires user-enabled action tier and app allowlist; confirms with user before acting.
Instructions
Semantically CLICK a UI element via UI Automation (button, menu item, checkbox). Target by name_contains or element_index from ui_find. REQUIRES user-enabled action tier + app allowlist; otherwise returns action_denied. Confirm with the user before acting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hwnd | No | Exact window handle | |
| element_index | No | Stable index from ui_find | |
| name_contains | No | Element name to click (e.g. "Save") | |
| title_contains | No | Window title fragment |