browser_type
Types text into an input box using an ARIA snapshot reference. Requires a prior snapshot to obtain the element reference.
Instructions
通过 ARIA 快照引用在输入框中输入文本。需先调用 browser_snapshot 获取引用。
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 | ARIA 快照中的输入框引用,如 e42 | |
| text | Yes | 要输入的文本 | |
| submit | No | 输入后是否按回车提交 | |
| page_id | No | 目标页面 ID |