cua_element_action
Perform semantic Accessibility or UI Automation actions such as press, focus, or set_value on elements by reference or query, avoiding pixel-based guessing.
Instructions
Invoke a direct semantic Accessibility / UI Automation action (press, confirm, focus, set_value, show_menu, raise) on an element by ref or query without pixel guessing.
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": "cua_element_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| role | No | ||
| query | No | ||
| value | No | Value to write when action='set_value'. | |
| action | No | press | |
| app_name | No |