browser_type
Types text into browser input fields using CSS selectors or element references. This tool enables AI agents to interact with web forms and text inputs in real browser sessions.
Instructions
Type text into an input element
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": {
"text": "<text>"
},
"name": "browser_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Element reference from snapshot | |
| text | Yes | Text to type | |
| clear | No | Clear the field before typing | |
| selector | No | CSS selector for the input |