Press a key
browser_pressPresses a specified key, such as Enter or Control+A, on the currently focused browser element using a session ID.
Instructions
Press a key on whatever has focus: 'Enter', 'Escape', 'Tab', 'ArrowDown', 'Control+A'.
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": {
"session_id": "<session_id>",
"key": "<key>"
},
"name": "browser_press"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | A key name, pressed on whatever has focus: 'Enter', 'Escape', 'ArrowDown', 'Control+A'. | |
| session_id | Yes | The session_id `browser_open` returned. |