ui_click
Click a UI element in a .NET app by using cached coordinates from the last window tree, falling back to pywinauto element search when needed. Resume the app from breakpoints before clicking.
Instructions
Click on a UI element.
Note: If app is STOPPED at breakpoint, resume with continue_execution() first.
Tries cached coordinates first (from last ui_get_window_tree call), then falls back to pywinauto element search.
Args: automation_id: AutomationId property name: Element's Name/Title property control_type: Control type
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_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| xpath | No | ||
| root_id | No | ||
| control_type | No | ||
| automation_id | No |