browser_click
Click a page element identified by its accessibility snapshot reference, with options for double-click, right/middle mouse buttons, and modifier keys.
Instructions
Click an element by its ref from the latest snapshot. Supports right/middle button, double-click, and modifier keys (ctrl/shift/alt/meta) for context menus, multi-select, and open-in-new-tab.
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": {
"ref": "<ref>"
},
"name": "browser_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Element ref, e.g. e12, from browser_snapshot. | |
| count | No | Click count; 2 = double-click. | |
| button | No | Mouse button (default left). 'right' opens context menus. | |
| modifiers | No | Modifier keys held during the click. |