macos_mouse_click
Clicks the mouse at its current macOS position, supporting left, right, middle, double-click, and modifier-held clicks; move the cursor first and grant Accessibility permission.
Instructions
macOS only. Click the mouse at its current position. Covers left/right/middle click and double-click via arguments (button, doubleClick, modifiers), so this one tool handles regular click, right-click, double-click and modifier clicks. Move the cursor first with macos_mouse_move. Requires Accessibility permission.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "macos_mouse_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| button | No | Which button to click. Defaults to left. | |
| modifiers | No | Modifiers held during the click: Shift or Meta/Command to extend a selection, Alt/Option, Control. Example: ["Meta"] is a Cmd+click. | |
| doubleClick | No | Deliver a double-click (reported to the OS as a real double-click). Defaults to false. |