Type Into Input
browser_typeTypes text into a targeted input or textarea without submitting, using selectors, labels, or ARIA attributes; sensitive fields are automatically redacted in logs and responses.
Instructions
Type text into a targeted input or textarea without submitting. Sensitive/password fields are automatically redacted in logs and responses.
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 |
|---|---|---|---|
| name | No | Accessible name used together with `role` | |
| role | No | ARIA role for accessible targeting (e.g. "button", "link", "textbox") | |
| text | Yes | Text to type into the target input or textarea | |
| exact | No | Whether text/name/label matching must be exact | |
| label | No | Form label text associated with the element | |
| delayMs | No | Optional per-keystroke delay in milliseconds (0-500) | |
| task_id | No | Optional task ID for execution tracking and cancellation | |
| selector | No | CSS or Playwright selector (e.g. "button.submit", "#search") | |
| timeoutMs | No | Bounded wait timeout in milliseconds (500-60000) | |
| clearFirst | No | Clear existing input value before typing (default: true) | |
| session_id | No | Optional target browser session ID (defaults to active default session) | |
| placeholder | No | Input placeholder text |