click_ax
Click an Electron app element by its accessibility name and optional role using the AX tree instead of CSS selectors, so UI actions target accessible elements reliably.
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. |