browser_click
Click an element in a browser tab by its reference from a snapshot. Supports left, right, middle, or double-click clicks.
Instructions
Click an element by its ref (e1, e2, etc. from snapshot)
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 reference from snapshot (e.g., 'e1', 'e2') | |
| targetId | No | Target ID of the tab | |
| button | No | Mouse button to click (default: left) | |
| doubleClick | No | Perform a double-click |