browser_click
Click a web page element by its accessibility tree ID or CSS selector fallback, enabling precise browser automation.
Instructions
点击元素(element = a11y 引用,ref = CSS 选择器)
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": {
"element": "<element>",
"ref": "<ref>"
},
"name": "browser_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | CSS 选择器兜底 | |
| element | Yes | 可访问性树中的元素 id | |
| _agent_id | No | 隔离键:同一 agent 的所有调用传相同的值以保持其浏览器;不同 agent 传不同的值以获取独立浏览器。省略则共享默认浏览器。 |