browser_type
Clears an input field and types specified text, using the field's ref ID from the accessibility snapshot.
Instructions
Type text into an input field identified by its ref ID.
Clears the field first, then types the new text.
Args: ref: Element reference like "@e3" from the snapshot text: Text to type into the field session_id: Browser session ID
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": {
"ref": "<ref>",
"text": "<text>"
},
"name": "browser_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| text | Yes | ||
| session_id | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |