browser_type
Type text into a webpage input field during a browser session, appending to existing content or clearing it first. Use for form filling in automated scraping workflows.
Instructions
Type text into an input element. Appends to existing content unless clear_first is set.
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": {
"session_id": "<session_id>",
"selector": "<selector>",
"text": "<text>"
},
"name": "browser_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to type | |
| selector | Yes | CSS selector of the input element | |
| session_id | Yes | Session ID returned by browser_navigate | |
| clear_first | No | Clear existing content before typing (default false) |