Press element
element_pressPerforms an accessibility action on a UI element, defaulting to press; specify alternate actions or a menu item path to operate controls when standard clicking is unavailable.
Instructions
Perform an accessibility action on an element: default "press"; others from ax_element actions (e.g. "showMenu", "increment"). With menu, choose that item path in the menu the action opens. If it returns BackgroundUnavailable, use element_click (coordinate input) instead.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ref": "<ref>"
},
"name": "element_press"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Element ref from ax_tree/ax_find, e.g. "e12". | |
| menu | No | Menu item path to choose. | |
| action | No | Action name (default "press"). |