web_inspect
Scan pages read-only to return clickable and input elements, forms, and pagination candidates with stable CSS selector refs for input-click-wait automation.
Instructions
只读扫描页面,列出可点击/可输入元素、表单与分页候选。
返回的每个元素都带 ref(稳定 CSS 选择器),可直接放进 web_fetch /
web_screenshot 的 actions[].selector 执行"输入 → 点击 → 等待",
不需要模型猜选择器。只读:不执行任意 JS,不返回整页 HTML。
Args: url: 目标网页完整 URL。 max_elements: 最多返回多少个元素;不传取配置 inspect_max_elements(默认 120)。 session: 已登录会话名,渲染时带上该会话的 cookie。 deadline_ms: 整次调用的总预算(毫秒),不传表示不限。 proxy: 本次请求使用的代理;不传则按代理池分配。 region: 地区定向(如 us / hk / jp),只在走代理池时生效。
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": {
"url": "<url>"
},
"name": "web_inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| proxy | No | ||
| region | No | ||
| session | No | default | |
| deadline_ms | No | ||
| max_elements | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |