browser_press_key
Press any keyboard key or shortcut in a Chrome browser to trigger actions like submitting forms, navigating menus, or scrolling. Optionally return the updated page snapshot.
Instructions
Press a key or shortcut, e.g. Enter, Escape, Tab, ArrowDown, PageDown (scrolls), Control+a or a single character
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 | Name of the key to press or a character to generate, such as `ArrowLeft` or `a` | |
| snapshot | No | Also return the page snapshot after the action (default: no). Use it when you need to see the result right away. |