Browser Keyboard Press
browser_keyboard_pressPress keyboard keys or key chords in a browser session to simulate user input for parallel browser automation.
Instructions
Press a keyboard key or key chord.
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": {
"sessionId": "<sessionId>",
"key": "<key>"
},
"name": "browser_keyboard_press"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Playwright key name, e.g. "Enter", "ArrowDown", "Control+A". | |
| sessionId | Yes |