press_key
Press a keyboard key (e.g., Enter, Tab, Escape) on the active browser tab, or target a specific tab with browserId.
Instructions
Press a keyboard key in the page (e.g. "Enter", "Tab", "Escape", "ArrowDown"). Targets the active tab unless a browserId is given.
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, e.g. "Enter". | |
| browserId | No | Target tab (from list_tabs). Defaults to active. |