browser_type
Input text into a web element using a CSS selector, with optional Enter key submission. Isolated browser sessions enable conflict-free concurrent automation.
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": {
"element": "<element>",
"ref": "<ref>",
"text": "<text>",
"submit": "<submit>"
},
"name": "browser_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | CSS 选择器 | |
| text | Yes | 要输入的文本 | |
| submit | Yes | 输入后按回车 | |
| element | Yes | 元素 | |
| _agent_id | No | 隔离键:同一 agent 的所有调用传相同的值以保持其浏览器;不同 agent 传不同的值以获取独立浏览器。省略则共享默认浏览器。 |