browser_click
Clicks a web page element by its snapshot reference, supporting left, right, middle, double-clicks, and modifier keys for precise browser automation.
Instructions
Perform a click on a web page element identified by its snapshot ref.
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 | Exact target element reference from the page snapshot (e.g. 'e5'). | |
| button | No | Mouse button to click. | left |
| element | No | Human-readable description of the target element. | |
| modifiers | No | Modifier keys to hold during click. | |
| sessionId | No | Optional target browser session ID. If omitted, uses the currently active session (or auto-launches one). | |
| doubleClick | No | Whether to double-click instead of single-click. |