browser_press_key
Simulate pressing a keyboard key (e.g., Enter, Escape) in a browser tab for automated keyboard interactions.
Instructions
Press a keyboard key
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": "browser_press_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key to press (e.g., 'Enter', 'Escape', 'ArrowDown') | |
| targetId | No | Target ID of the tab |