update_shortcut
Change a keyboard shortcut binding. Provide the shortcut name, a key, and at least one modifier key.
Instructions
Change a keyboard shortcut binding. Requires at least one modifier key. Use get_shortcuts to see available shortcut names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The key to bind (e.g. 'space', 's', 'k', 'f1', 'left'). Valid: a-z, 0-9, space, return, tab, escape, delete, left, right, up, down, f1-f12. | |
| name | Yes | The shortcut name (e.g. 'toggleSidebar', 'saveCurrentPage'). Get names from get_shortcuts. | |
| modifiers | Yes | Modifier keys (at least one required). Valid: 'command', 'shift', 'option', 'control'. Aliases: 'cmd', 'ctrl', 'opt', 'alt'. |