click_ui_element
Click a specific UI element like a button, menu item, or text field inside a macOS app window by specifying the app name, element type, and element name.
Instructions
Click a named UI element (button, menu item, etc.) within an app window using accessibility
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": {
"app": "<app>",
"element_type": "<element_type>",
"name": "<name>"
},
"name": "click_ui_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | Application process name | |
| name | Yes | Name/title of the element to click | |
| path | No | Optional parent path like 'group 1 of group 2 of window 1'. Defaults to 'window 1'. | |
| element_type | Yes | UI element type: button, menu item, text field, checkbox, etc. |