browser_type
Types text into focused or specified input elements, with optional targeting by hint, index, or name; set press_enter to submit forms.
Instructions
Type text into a focused/input element. Optionally pass --hint / --idx / --name-contains to focus a specific element first. press_enter=true submits.
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 |
|---|---|---|---|
| idx | No | ||
| hint | No | ||
| port | No | ||
| text | Yes | ||
| dry_run | No | ||
| protocol | No | cdp | |
| host_header | No | BiDi Host header; use localhost:9222 through SSH forwarding | |
| press_enter | No | ||
| source_text | No | user text that authorizes text | |
| control_type | No | ||
| url_contains | No | ||
| name_contains | No |