browser_press_key
Press a key (e.g., Enter, Tab, arrow keys) in the browser, optionally inside an iframe using a frame selector. Enables keyboard input for browser automation.
Instructions
Press a key (e.g. Enter, Tab, ArrowRight). Use frameSelector to send to an iframe.
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, Tab, ArrowRight | |
| frameSelector | No | Optional. Iframe selector to target the frame |