click_ax
Clicks an element by accessibility name (optional role) using the accessibility tree instead of CSS, enabling interaction with Electron app controls.
Instructions
Click an element by accessibility name (optional role). Uses the AX tree, not CSS.
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": {
"name": "<name>"
},
"name": "click_ax"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Accessible name, e.g. "Go" or "Submit" | |
| role | No | AX role, e.g. "button" or "link" | |
| exact | No | Require an exact name match | |
| button | No | ||
| targetId | No | ||
| processId | No | Target process ID. Omit if only one app is running. |