press_key
Simulates pressing keyboard keys such as Enter, Tab, Escape, and arrow keys in a Chromium browser tab, optionally with modifier keys, to automate navigation and form interactions.
Instructions
Press a keyboard key (Enter, Tab, Escape, ArrowDown, 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": "press_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key name (Enter, Tab, Escape, Backspace, ArrowUp, ArrowDown, etc.) | |
| tabId | No | Tab ID (optional) | |
| modifiers | No | Modifier flags: 1=Alt, 2=Ctrl, 4=Meta/Cmd, 8=Shift |