browser_press_key
Press keyboard keys or key combinations on a live browser page or a specific element to simulate user input and trigger events.
Instructions
Press a keyboard key or chord on the page or a selected element.
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 | ||
| selector | No | ||
| sessionId | No | Browser session ID; optional when exactly one session exists. |