页面快照
web_snapshotCapture a structured accessibility snapshot of the current page, listing interactive elements with reference numbers for precise targeting by click and fill tools.
Instructions
生成当前页面的无障碍树快照:包含标题、URL 与带引用编号(ref)的元素树。交互元素(按钮/链接/输入框等)带 [编号] 前缀,后续 web_click / web_fill 等工具可用该编号定位。快照只包含结构化信息,不包含像素图像。
权限说明:只读操作,不产生网络请求;快照内容仅返回给调用方。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | 只快照该选择器命中的子树 | |
| max_depth | No | 树的最大深度,默认 8 | |
| max_nodes | No | 节点总数上限,默认 600 |