browser_click
Click a web page element by specifying its reference from a page snapshot. Supports left, right, middle buttons, double-click, and modifier keys.
Instructions
Perform click on a web page element identified by its ref from a 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 the page snapshot (e.g., 'e1', 'submit-btn') | |
| button | No | Mouse button, defaults to left | |
| element | No | Human-readable element description | |
| modifiers | No | Modifier keys to hold | |
| doubleClick | No | Whether to double-click |