拟人输入
browser_typeTypes text into a specified text input field, one character at a time. Use only for text boxes; dropdowns, options, and buttons fail and require click or select instead.
Instructions
通用:只对文本框逐字输入。下拉框、选项、按钮会直接失败,并说明该用点选还是点击。
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": {
"ref": "<ref>",
"text": "<text>"
},
"name": "browser_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | 输入框编号,例如 e2 | |
| text | Yes | 要输入的文字 | |
| clear | No | 输入前先全选并删除已有内容 | |
| submit | No | 输入完成后按 Enter |