chrome_key_press
Simulates keyboard input in a running Chrome tab by pressing a key or key combination such as Enter, Tab, Escape, or Ctrl+A for browser automation and testing.
Instructions
Press a key or key combination (Enter, Tab, Escape, Ctrl+A, etc.)
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": {
"key": "<key>"
},
"name": "chrome_key_press"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key name: Enter, Tab, Escape, Backspace, ArrowDown, etc. | |
| tabId | No | ||
| modifiers | No | Modifier flags: 1=Alt, 2=Ctrl, 4=Meta/Cmd, 8=Shift. Sum for combos. |