chrome_type
Types text into the active browser tab's element by reference, replacing its value or appending when set; submits with Enter when requested.
Instructions
Focus an element by ref and type text with trusted input (replaces the current value unless append: true). submit: true presses Enter afterwards.
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": "chrome_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| text | Yes | ||
| tabId | No | Chrome tab id (default: active tab) | |
| append | No | ||
| submit | No | ||
| frameId | No | Frame id, default 0 | |
| snapshotId | No | snapshotId returned by chrome_snapshot; rejects stale actions |