Click element by ref
browser_clickClicks a page element by its reference, verifying it is visible and unobstructed first; handles one covered-target popup retry and reports stale refs so you can refresh.
Instructions
Click one element by its ref (from browser_observe / browser_find / browser_open), e.g. "e7". Free — no model call. The ref is re-validated as visible and unobstructed before clicking; a covered target gets one popup-dismissal retry, then fails naming the occluding element. Returns {ok, detail, page}; check ok. If it reports a stale reference the page changed — call browser_observe or browser_find again for fresh refs.
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 from a recent observe/find/open, e.g. "e7" or "f2". |