browser_press
Simulate keyboard input by pressing a key or chord on the focused element, such as Enter, Tab, or Control+a; focus a field first using click or fill actions.
Instructions
Press a key or a chord at whatever has focus: "Enter", "Tab", "Escape", "ArrowDown", "Control+a", "Meta+Shift+k". Modifiers go down first and up last, so the page sees one chord and not three unrelated keydowns. Focus a field with browser_click or browser_fill first.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key or chord, e.g. "Enter" or "Control+a" | |
| times | No | Repeat count (default 1) |