Type text
browser_typeType text into form fields such as inputs, textareas, or contenteditables, replacing current values unless append=true, and optionally press Enter to submit.
Instructions
Type into an input/textarea/contenteditable. Replaces the current value unless append=true. Optionally 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" | |
| text | Yes | ||
| append | No | ||
| slowly | No | Type key by key to trigger per-key handlers | |
| submit | No | Press Enter after typing | |
| selector | No | Playwright selector (CSS, text=..., role=..., xpath=...) used when no ref is given | |
| snapshot | No | Return an accessibility snapshot of the page after the action (default from BROWSER_MCP_SNAPSHOT_AFTER_ACTIONS) |