browser_press_key
Press a keyboard key on a web page, such as Enter, Tab, Escape, ArrowDown, Backspace, F5, or a single character, to trigger keyboard actions during browser automation.
Instructions
Press a keyboard key on the page. For Enter after typing use browser_type(..., enter=True).
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 name: Enter, Tab, Escape, ArrowDown, Backspace, F5, or a single char. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |