web_type
Fills input fields on the current page using a CSS selector and optionally submits the containing form or sends Enter, enabling form completion and search queries in a logged-in browser.
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>",
"text": "<text>"
},
"name": "web_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | 要填的内容 | |
| submit | No | 填完是否提交,默认 false | |
| selector | Yes | 输入框的 CSS 选择器 |