browser_type
Types text into a specific element using a reference from a snapshot, with an option to submit by pressing Enter.
Instructions
Type text into an element
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 | Element reference from snapshot | |
| text | Yes | Text to type | |
| targetId | No | Target ID of the tab | |
| submit | No | Press Enter after typing |