set_hotkey
Rebind an action key (toggle recording, paste transcript, paste clipboard, show/hide, quick translate) to a custom keyboard shortcut using Electron accelerator format.
Instructions
Rebind a keyboard shortcut. Action keys: toggleRecording, pasteTranscript, pasteClipboard, showHide, quickTranslate. Accelerator format is Electron-style (e.g. "CommandOrControl+Shift+Space", "Alt+W"). Triggers an immediate re-registration.
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>",
"accelerator": "<accelerator>"
},
"name": "set_hotkey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Which action to rebind. | |
| accelerator | Yes | Electron accelerator (e.g. "CommandOrControl+Shift+Space"). Avoid reserved combos. |