browser_type
Type text into an editable element, replacing its content; optionally press Enter to submit. Use for single fields; for multiple fields, use the form fill tool.
Instructions
Type text into an editable element, replacing its content. To fill several fields at once, prefer browser_fill_form.
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": {
"element": "<element>",
"ref": "<ref>",
"text": "<text>"
},
"name": "browser_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Exact target element reference from the page snapshot | |
| text | Yes | Text to type into the element | |
| slowly | No | Type one key at a time, for inputs that format as you type (phone, card or date masks). Slower. | |
| submit | No | Whether to submit entered text (press Enter after) | |
| element | Yes | Human-readable element description used to obtain permission to interact with the element | |
| snapshot | No | Also return the page snapshot after the action (default: no). Use it when you need to see the result right away. |