Type into an element
browser_typeFocus a field matching a CSS selector and type text with real per-character key events to accurately fill forms in Firefox automation.
Instructions
Focus the element matching a CSS selector and type text with real per-character key events.
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": {
"selector": "<selector>",
"text": "<text>"
},
"name": "browser_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to type | |
| context | No | Tab context id (default: the active tab) | |
| selector | Yes | CSS selector of the field |