type
Enter text into web page fields using real key events. Optionally clear existing content first or press Enter to submit, targeting specific elements by reference.
Instructions
Type text with real key events into the focused element, or into ref (clicked first). clear=true selects all and deletes first. pressEnter=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": {
"tabId": "<tabId>",
"text": "<text>"
},
"name": "type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Element ref from read_page or find, e.g. ref_12 or f1:ref_3 (f1 = inside frame 1) | |
| text | Yes | ||
| clear | No | ||
| tabId | Yes | Tab id from tabs_context | |
| pressEnter | No |