browser_click
Click a page element by specifying its role and accessible name from the DOM snapshot.
Instructions
点击页面元素,用 snapshot 里的 role(+name) 定位。
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": {
"role": "<role>"
},
"name": "browser_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | 元素的可访问名称(accessible name) | |
| role | Yes | 元素 role,见 snapshot 输出(如 link/button/textbox) |