edge_press_key
Sends keyboard keys or combinations like Enter, Tab, Escape, or Control+A to a page, optionally focusing a selected element before the keypress.
Instructions
Send keyboard key combinations to the page (e.g. 'Enter', 'Escape', 'Tab', 'Control+A', 'ArrowDown').
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": "edge_press_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key or key combination to press (e.g. Enter, Tab, Escape, Control+f) | |
| selector | No | Optional element selector to focus before sending the key |