apple_keyboard
Simulate macOS keyboard input to type text, press key combos, and execute copy, paste, undo, redo, save, or select all actions.
Instructions
Simulate keyboard input. Actions: type_text, press_key, copy, paste, undo, redo, save, select_all.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text to type | |
| combo | No | Key combo like cmd+c, cmd+shift+z, return, escape | |
| action | Yes | type_text: Type text via simulated keystrokes; press_key: Press a key combination (e.g. "cmd+c", "cmd+shift+z", "return", "escape"); copy: Copy (Cmd+C); paste: Paste (Cmd+V); undo: Undo (Cmd+Z); redo: Redo (Cmd+Shift+Z); save: Save (Cmd+S); select_all: Select All (Cmd+A) | |
| confirm | No | Set to true to confirm a protected/destructive action. Without this, protected actions return a preview instead of executing. |