点击
browser_clickClick page elements by snapshot ref to perform left, right, or double clicks and return an incremental snapshot showing the result so you can continue.
Instructions
Click an element by its snapshot ref (e.g. "e12"). Supports left click, right click (context menu), double click. An incremental snapshot is returned afterwards so you can see the result and continue.
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 browser_snapshot, e.g. "e12" | |
| tabId | No | Tab id (default: active tab) | |
| button | No | Mouse button (default "left") | |
| snapshot | No | Return an incremental snapshot after the action (default true) | |
| doubleClick | No | Perform double click (default false) |