Set Obsidian Hotkey
set_hotkeyAssign persistent hotkey bindings to an Obsidian command ID, or clear them with an empty array.
Instructions
Set persisted hotkey bindings for an exact Obsidian command ID. The app may need a vault reload; command IDs cannot be runtime-validated by the standalone server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hotkeys | Yes | Bindings; pass an empty array to clear this command's custom hotkeys. | |
| commandId | Yes | Exact command ID, e.g. insert-template. |