zen_press_key
Press a specified key, including special keys and modifier combinations, on the active browser page.
Instructions
Send keyboard input to the active page using BiDi input.performActions. Supports special keys like Enter, Tab, Escape, Backspace, and key combinations with modifiers.
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": "zen_press_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key to press: "Enter", "Tab", "Escape", "Backspace", "ArrowDown", etc. For text, use zen_fill instead. | |
| modifiers | No | Modifier keys to hold (e.g. ["ctrl", "shift"]) |