browser_type
Type text into the focused or specified page element, with optional form submission and iframe support via frameSelector for accurate input in complex layouts.
Instructions
Type text into the focused element or into the element identified by ref. Use frameSelector for elements inside an iframe.
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 | Optional. Target element ref from snapshot | |
| text | Yes | Text to type | |
| submit | No | Press Enter after typing | |
| frameSelector | No | Optional. Iframe selector when target is inside an iframe |