streamdeck_add_hotkey
Adds a keyboard shortcut action to a Stream Deck button by row, column, and virtual key code. Assign hotkeys with optional modifiers and labels, then reload to apply changes.
Instructions
Add a keyboard shortcut/hotkey action to a Stream Deck button. After adding, call streamdeck_reload to apply changes.
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": {
"row": "<row>",
"col": "<col>",
"vKeyCode": "<vKeyCode>"
},
"name": "streamdeck_add_hotkey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alt | No | Hold Alt (default: false) | |
| col | Yes | Button column (0-based, left is 0) | |
| row | Yes | Button row (0-based, top is 0) | |
| win | No | Hold Windows key (default: false) | |
| ctrl | No | Hold Ctrl (default: false) | |
| shift | No | Hold Shift (default: false) | |
| title | No | Label to show on the button | |
| pageId | No | Page ID (current page if omitted) | |
| vKeyCode | Yes | Windows virtual key code for the key. Common codes: A=65, B=66...Z=90, 0=48...9=57, F1=112...F12=123, Enter=13, Escape=27, Space=32, Tab=9, Backspace=8, Delete=46, PrintScreen=44, Pause=19 | |
| profileId | No | Profile ID (default profile if omitted) |