browser_press_key
Presses a key or key combination in Safari, such as Enter or Shift+Tab, to trigger keyboard actions in the current or specified tab.
Instructions
Press a key or key combination, e.g. Enter or Shift+Tab.
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 | ||
| tabId | No | Tab id from browser_tabs. Default: current tab. | |
| backend | No | Backend: real = your Safari, driver = isolated safaridriver session. Default: session default. | |
| trusted | No | Use real OS-level input (focus moves to Safari). Default: false on real, true on driver. |