web_click
Clicks a page element using a CSS selector, waits for the page to stabilize, and returns updated page information for reliable post-click navigation.
Instructions
在当前页面点击一个元素(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": {
"selector": "<selector>"
},
"name": "web_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| waitMs | No | 点击后额外等待毫秒,默认 2000 | |
| selector | Yes | CSS 选择器,例如 "a.next" 或 "#submit" |