Type text into element
browser_typeTypes text into inputs, textareas, or contenteditable editors, with options to clear existing content and press Enter.
Instructions
Type text into an input, textarea, or contenteditable/ProseMirror editor (compatible with React/Vue controlled inputs), optionally clearing existing text or pressing Enter.
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. | |
| text | Yes | Text to insert into the element. | |
| clear | No | Clear existing value/content before typing (default false). | |
| tabId | No | Controlled tab id. | |
| selector | No | CSS selector for target input or editor. | |
| pressEnter | No | Press Enter after typing (default false). |