press
Sends a key such as Enter, Tab, or Escape to the focused element in the active Edge tab, enabling keyboard interaction during browser automation.
Instructions
Press a key on the active tab (sent to the currently focused element). Accepts KeyDescriptor names like Enter, Tab, Escape, ArrowDown, or single characters like 'a'.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key name, e.g. Enter, Tab, Escape, ArrowDown, Backspace, or a single character like 'a' | |
| hold | No | Hold duration in ms (0 = tap) |