browser_type
Types text into input, textarea, or contenteditable elements, replacing or appending values and optionally pressing Enter. Handles React/Vue controlled fields.
Instructions
Type text into an input, textarea or contenteditable. Replaces the current value by default (clear:false to append). Works with React/Vue controlled inputs. submit:true presses Enter afterwards.
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 ref from browser_snapshot, e.g. "e12". Preferred over selector. | |
| text | Yes | ||
| clear | No | ||
| tabId | No | Tab to act on. Defaults to the tab last opened/selected by an agent, else the active tab. | |
| slowly | No | Type one character at a time (for autocomplete widgets). | |
| submit | No | ||
| selector | No | CSS selector, "text=Sign in" (visible text), or "xpath=//button". Searches open shadow roots too. |