safari_press_key
Presses a keyboard key in Safari, such as Enter, Tab, or arrows, with optional modifier keys (Cmd, Shift, Alt, Ctrl) to control logged-in browser sessions.
Instructions
Press a keyboard key (enter, tab, escape, arrows, etc). Supports modifiers (cmd, shift, alt, ctrl).
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": "safari_press_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key name: enter, tab, escape, space, delete, up, down, left, right, or a single character | |
| why | No | Optional short purpose of this step, shown to the user in the cursor's status pill (e.g. 'to save the settings'). The page can read it: never put passwords, codes, card numbers or other private data in it. | |
| receipt | No | Omit it: Daylight has no tab receipts and refuses a call that passes one | |
| modifiers | No | Modifier keys: cmd, shift, alt, ctrl |