browser_click
Clicks a webpage element to trigger buttons, links, or menus using a snapshot ref, numeric index, or CSS selector, enabling automated navigation and interaction with live browser pages.
Instructions
Click an element on the webpage by its snapshot ref (e.g. "@e12"), numeric index, or CSS selector.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "browser_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Element reference from browser_snapshot (e.g. "@e12"). Preferred over index; also used to target a scroll container. | |
| index | No | The numeric index of the interactive element from the snapshot (mapped to ref "@e<index>"). | |
| tabId | No | Optional browser tab id to act on instead of the focused tab. | |
| button | No | ||
| selector | No | Alternative CSS selector of the element to click. | |
| modifiers | No | ||
| clickCount | No |