browser_press_key
Simulates a single key press or key combination at the page level to trigger shortcuts, submit forms, or navigate. Accepts Playwright key strings like Enter and Control+A.
Instructions
Send a single key or key combination at page level.
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 | Playwright key string, e.g. Enter, Control+A, ArrowDown. |