click
Clicks a page element using its snapshot ref, with automatic JavaScript fallback when overlays block interaction.
Instructions
Click element by ref ID from browser_snapshot. Auto JS-fallback for overlays.
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": "click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Element ref (e.g. 'e5') | |
| button | No | left | |
| dblclick | No |