safari_press_key
Press keyboard keys in Safari to trigger actions or navigate pages, with optional modifier keys for shortcuts.
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 | |
| receipt | No | Tab receipt from safari_new_tab — pins this call to that tab (survives reconnects/subagents) | |
| modifiers | No | Modifier keys: cmd, shift, alt, ctrl |