Left Click
left_clickSend a mouse click to a UI element or exact screen coordinate, enabling automated interaction with macOS applications via the accessibility API.
Instructions
Click a bound element or frame coordinate.
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": {
"target": "<target>"
},
"name": "left_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| app_ref | No | ||
| strategy | No | Prefer accessibility, require accessibility, or require event dispatch. | auto |
| modifiers | No | Comma or plus separated key modifiers. | |
| return_state | No | Optionally observe the target again after the action. | none |