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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ui_invoke"
}
}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 |