search_key_codes
Search valid Karabiner-Elements key codes and modifiers for keyboard remapping. Filter by term or category to identify the correct key_code string before creating or modifying rules.
Instructions
Search valid Karabiner-Elements key codes and modifiers.
Call this before add_rule or edit_rule to find the correct key_code string. Key codes are Karabiner-specific identifiers (e.g. 'return_or_enter' not 'enter', 'delete_or_backspace' not 'backspace', 'grave_accent_and_tilde' not '`').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Search term to filter key codes (e.g. 'arrow', 'f1', 'ctrl', 'media'). Case-insensitive substring match. Omit to list all categories. | |
| category | No | Filter by category: Letters, Numbers, Function Keys, Modifiers, Navigation, Punctuation, Keypad, Media, International, System. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |