Snapshot
browser_snapshotCaptures a structured accessibility snapshot of the current browser page to locate elements with refs for reliable clicking or typing instead of using coordinates.
Instructions
取当前页面的结构化快照(ego 返回带 ref 的无障碍树;edge 返回同形态快照)。这是点击/输入前的定位依据,优先用它而不是坐标。
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_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine | No | 浏览器引擎:ego(默认,真实浏览器 + 登录态)/ edge(Playwright/Edge,需另装 playwright) | ego |