browser_type
Type text into the focused element, or click a target by ref, selector, or X/Y coordinates first, then insert text and optionally clear existing input.
Instructions
Type text into the focused element, or click a target (ref, selector, or x/y) first and then insert text.
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 |
|---|---|---|---|
| x | No | Viewport X coordinate. | |
| y | No | Viewport Y coordinate. | |
| ref | No | Ref number from the latest browser_snapshot. | |
| text | Yes | Text to insert. | |
| tab_id | No | Target tab id. | |
| selector | No | CSS selector to focus before typing. | |
| clear_first | No | Clear existing input value before typing. |