Click
clickTap a macOS UI element by matching a selector (e.g., #id or Button "Save") to trigger a click, enabling UI automation without screen recording permission.
Instructions
Tap a view matched by selector. Selector grammar: "#id" | Role "Label" | "Label" | Role.
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": {
"selector": "<selector>"
},
"name": "click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window | No | ||
| selector | Yes | e.g. "#save", Button "Save". |