accessibility_click
Click UI elements by accessibility role and optional title. Uses the accessibility press action for reliable interaction with buttons, menu items, and other controls, avoiding coordinate-based clicking.
Instructions
Click a UI element by its accessibility role and optional title. This performs an accessibility "press" action, which is more reliable than coordinate-based clicking for buttons, menu items, etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | Process ID of the app (omit for frontmost app) | |
| role | Yes | Accessibility role (e.g., "AXButton", "AXMenuItem", "AXTextField", "AXCheckBox", "AXLink") | |
| title | No | Element title to match (partial, case-insensitive) |