{"at":"2026-11-23T05:25:34.556Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T05:25:35.638Z","dir":"received","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"opendeck","title":"OpenDeck","version":"0.5.0"}},"cacheScope":"private","capabilities":{"prompts":{"listChanged":true},"resources":{"listChanged":true,"subscribe":true},"tools":{"listChanged":true}},"instructions":"Configure OpenDeck (open-source Stream Deck software) and the decks it drives.\n\nWorkflow:\n1. get_overview first: devices, their grids, profiles, plugins.\n2. show_profile to see a profile's keys. Slots are named r<row>c<col> (1-based grid keys), key<N>\n   (0-based raw position), touch<N>, dial<N>, infobar<N>, and <slot>/child<N> inside multi/toggle actions.\n3. list_actions / describe_action before placing an action: describe_action explains its settings.\n4. Edit with set_key, update_key, clear_key, move_key, add_child, remove_child, set_multi_delays,\n   manage_profile, set_app_rule, set_plugin_settings, stage_plugin. These STAGE changes, except that\n   update_key applies title/image/settings tweaks on the showing profile instantly (undo_live undoes them).\n5. preview_changes (and render_profile for a picture), show the user, then apply_changes(confirm=true)\n   once they agree.\n   Applying restarts OpenDeck (a few seconds) and takes a backup; restore_backup undoes it.\n\nSecrets in plugin settings are shown as «redacted»; passing «redacted» back keeps the stored value.\nRun Command / Simulate Input keys execute things on the user's computer: say so when staging them.\nInstalling plugins runs third-party code: always get the user's explicit go-ahead.\nHome Assistant keys: ha_search finds entities, ha_describe_entity gives ready-made key settings.\nKey images: make_icon (find_icons for names) makes one and returns a path to pass as `image`.\n","resultType":"complete","supportedVersions":["2026-07-28"],"ttlMs":0}}}
{"at":"2026-11-23T05:25:35.638Z","dir":"sent","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T05:25:35.642Z","dir":"received","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"opendeck","title":"OpenDeck","version":"0.5.0"}},"cacheScope":"private","resultType":"complete","tools":[{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true},"description":"Start here. Lists devices (grid size, dials, touchpoints, connected), each device's profiles and\nwhich is selected, installed plugins, whether OpenDeck is running, and how many changes are staged.","inputSchema":{"properties":{},"title":"get_overviewArguments","type":"object"},"name":"get_overview","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"get_overviewOutput","type":"object"}},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true},"description":"Render a profile: a grid sketch plus every occupied slot with its action, title and state.\nIncludes staged (not yet applied) changes, marked with *. Slot labels shown are the ones the\nediting tools accept.","inputSchema":{"properties":{"device":{"description":"Device id or name, e.g. 'ulanzi-d200h' (see get_overview).","title":"Device","type":"string"},"profile":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Profile id; defaults to the device's selected profile.","title":"Profile"},"show_children":{"default":true,"title":"Show Children","type":"boolean"},"show_settings":{"default":false,"description":"Include each key's settings (redacted).","title":"Show Settings","type":"boolean"}},"required":["device"],"title":"show_profileArguments","type":"object"},"name":"show_profile","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"show_profileOutput","type":"object"}},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true},"description":"List actions that can be placed on keys or dials: name, plugin, uuid, controllers, states.\nIncludes OpenDeck's Multi Action and Toggle Action, and plugins staged for install.","inputSchema":{"properties":{"controller":{"anyOf":[{"enum":["Keypad","Encoder"],"type":"string"},{"type":"null"}],"default":null,"description":"Keypad for keys, Encoder for dials.","title":"Controller"},"plugin":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Only this plugin (name or id).","title":"Plugin"},"query":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Filter by text in name/plugin/uuid.","title":"Query"}},"title":"list_actionsArguments","type":"object"},"name":"list_actions","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"list_actionsOutput","type":"object"}},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true},"description":"Explain one action's settings before placing it: a curated schema for OpenDeck and Starter Pack\nactions, otherwise hints read from the plugin's settings page, plus real settings from the user's\nexisting keys (secrets redacted).","inputSchema":{"properties":{"action":{"description":"Action uuid or name, e.g. 'Open URL'.","title":"Action","type":"string"}},"required":["action"],"title":"describe_actionArguments","type":"object"},"name":"describe_action","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"describe_actionOutput","type":"object"}},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true},"description":"Show a plugin's global (plugin-wide) settings with secret values redacted.","inputSchema":{"properties":{"plugin":{"description":"Plugin name or folder id.","title":"Plugin","type":"string"}},"required":["plugin"],"title":"get_plugin_settingsArguments","type":"object"},"name":"get_plugin_settings","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"get_plugin_settingsOutput","type":"object"}},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true},"description":"Tail OpenDeck's log or a plugin's log (tokens redacted). Useful after apply_changes.","inputSchema":{"properties":{"grep":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Only lines matching this regex.","title":"Grep"},"lines":{"default":80,"title":"Lines","type":"integer"},"plugin":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Plugin name/id, or omit for OpenDeck's own log.","title":"Plugin"}},"title":"read_logsArguments","type":"object"},"name":"read_logs","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"read_logsOutput","type":"object"}},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true},"description":"Show automatic profile switching: which profile each device switches to when an app is focused.","inputSchema":{"properties":{},"title":"get_app_rulesArguments","type":"object"},"name":"get_app_rules","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"get_app_rulesOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Place an action on a key or dial, replacing whatever is there. For dials use dial<N> with an action\nthat supports Encoder. For a Multi/Toggle Action, set it here, then add_child. Staged only.","inputSchema":{"properties":{"action":{"description":"Action uuid or name (see list_actions).","title":"Action","type":"string"},"device":{"description":"Device id or name, e.g. 'ulanzi-d200h' (see get_overview).","title":"Device","type":"string"},"image":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Key image: a file path, an http(s) URL, or a data: URL; 'default' restores the action's own.","title":"Image"},"profile":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Profile id; defaults to the device's selected profile.","title":"Profile"},"settings":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"The action's settings object (see describe_action).","title":"Settings"},"slot":{"description":"Slot: r1c1 (row/column, 1-based), key13, touch1, dial1 or infobar1.","title":"Slot","type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Text drawn on the key; \\n for a new line.","title":"Title"},"title_style":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Title look: show (bool), colour (#RRGGBB), size (int), family (font), style (Regular|Bold|Italic|Bold Italic), alignment (top|middle|bottom), underline (bool), stroke_colour, stroke_size, background_colour.","title":"Title Style"}},"required":["device","slot","action"],"title":"set_keyArguments","type":"object"},"name":"set_key","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"set_keyOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Change an existing key without replacing its action: title, title style, image, settings,\nor which state it shows.\n\nTitle text, image and settings changes on the profile a connected device is showing apply\ninstantly, with no restart (undo with undo_live). Anything else (title style, current state,\nanother profile, a device with staged changes) is staged for apply_changes; the result says\nwhich happened. A live settings change reaches the plugin as if edited in OpenDeck's own panel;\nif that key's settings panel is open in OpenDeck, reopen it to see the change.","inputSchema":{"properties":{"current_state":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Current State"},"device":{"description":"Device id or name, e.g. 'ulanzi-d200h' (see get_overview).","title":"Device","type":"string"},"image":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Key image: a file path, an http(s) URL, or a data: URL; 'default' restores the action's own.","title":"Image"},"mode":{"default":"auto","description":"auto: apply instantly when possible, else stage; live: instantly or fail; staged: always stage.","enum":["auto","live","staged"],"title":"Mode","type":"string"},"profile":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Profile id; defaults to the device's selected profile.","title":"Profile"},"remove_settings":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"title":"Remove Settings"},"settings_merge":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Merged into the settings (JSON merge patch: null deletes a key).","title":"Settings Merge"},"settings_replace":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Replaces the settings entirely.","title":"Settings Replace"},"slot":{"description":"Slot, or <slot>/child<N> for a child.","title":"Slot","type":"string"},"state":{"anyOf":[{"type":"integer"},{"const":"all","type":"string"},{"type":"null"}],"default":null,"description":"Which state to restyle (0-based) for multi-state actions; default all.","title":"State"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Title"},"title_style":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Title look: show (bool), colour (#RRGGBB), size (int), family (font), style (Regular|Bold|Italic|Bold Italic), alignment (top|middle|bottom), underline (bool), stroke_colour, stroke_size, background_colour.","title":"Title Style"}},"required":["device","slot"],"title":"update_keyArguments","type":"object"},"name":"update_key","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"update_keyOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Undo the latest instant (live) edits made by update_key, newest first: titles, images and\nsettings go back to what they were. Staged changes and applied plans are undone with\ndiscard_changes and restore_backup instead.","inputSchema":{"properties":{"count":{"default":1,"description":"How many of the latest live edits to undo.","title":"Count","type":"integer"}},"title":"undo_liveArguments","type":"object"},"name":"undo_live","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"undo_liveOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Make a folder: a new profile opened by a key on this one, with a Back key inside. OpenDeck\nallows one folder level, so it's created as '<this profile's folder>/<name>'. Staged only.","inputSchema":{"properties":{"back_image":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Back key image; default a generated arrow, 'default' for the action's own.","title":"Back Image"},"back_slot":{"default":"r1c1","description":"Key in the folder that goes back.","title":"Back Slot","type":"string"},"device":{"description":"Device id or name, e.g. 'ulanzi-d200h' (see get_overview).","title":"Device","type":"string"},"image":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Key image: a file path, an http(s) URL, or a data: URL; 'default' restores the action's own.","title":"Image"},"name":{"description":"Folder name, also the key's title.","title":"Name","type":"string"},"profile":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Profile id; defaults to the device's selected profile.","title":"Profile"},"slot":{"description":"Empty key that will open the folder.","title":"Slot","type":"string"}},"required":["device","slot","name"],"title":"make_folderArguments","type":"object"},"name":"make_folder","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"make_folderOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Remove the action from a key or dial. Staged only.","inputSchema":{"properties":{"device":{"description":"Device id or name, e.g. 'ulanzi-d200h' (see get_overview).","title":"Device","type":"string"},"profile":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Profile id; defaults to the device's selected profile.","title":"Profile"},"slot":{"description":"Slot: r1c1 (row/column, 1-based), key13, touch1, dial1 or infobar1.","title":"Slot","type":"string"}},"required":["device","slot"],"title":"clear_keyArguments","type":"object"},"name":"clear_key","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"clear_keyOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Move, swap or copy a key (with its settings, title, image and children), within a profile or to\nanother profile/device. Staged only.","inputSchema":{"properties":{"device":{"description":"Device id or name, e.g. 'ulanzi-d200h' (see get_overview).","title":"Device","type":"string"},"from_slot":{"description":"Slot: r1c1 (row/column, 1-based), key13, touch1, dial1 or infobar1.","title":"From Slot","type":"string"},"mode":{"default":"move","description":"move (destination must be empty), swap, or copy.","enum":["move","swap","copy"],"title":"Mode","type":"string"},"profile":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Profile id; defaults to the device's selected profile.","title":"Profile"},"to_device":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Destination device (default: same).","title":"To Device"},"to_profile":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Destination profile (default: same).","title":"To Profile"},"to_slot":{"description":"Slot: r1c1 (row/column, 1-based), key13, touch1, dial1 or infobar1.","title":"To Slot","type":"string"}},"required":["device","from_slot","to_slot"],"title":"move_keyArguments","type":"object"},"name":"move_key","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"move_keyOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Add an action inside a Multi Action (runs all children in order) or Toggle Action (cycles through\nthem, one per press). Put the Multi/Toggle Action on the key with set_key first. Staged only.","inputSchema":{"properties":{"action":{"description":"Action uuid or name to add inside it.","title":"Action","type":"string"},"delay_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Multi Action only: wait after this child, in ms (default 100).","title":"Delay Ms"},"device":{"description":"Device id or name, e.g. 'ulanzi-d200h' (see get_overview).","title":"Device","type":"string"},"image":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Key image: a file path, an http(s) URL, or a data: URL; 'default' restores the action's own.","title":"Image"},"position":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"1-based position; default last.","title":"Position"},"profile":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Profile id; defaults to the device's selected profile.","title":"Profile"},"settings":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Settings"},"slot":{"description":"Slot holding a Multi/Toggle Action.","title":"Slot","type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Title"},"title_style":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Title look: show (bool), colour (#RRGGBB), size (int), family (font), style (Regular|Bold|Italic|Bold Italic), alignment (top|middle|bottom), underline (bool), stroke_colour, stroke_size, background_colour.","title":"Title Style"}},"required":["device","slot","action"],"title":"add_childArguments","type":"object"},"name":"add_child","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"add_childOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Remove one action from inside a Multi/Toggle Action. Staged only.","inputSchema":{"properties":{"child":{"description":"1-based child number.","title":"Child","type":"integer"},"device":{"description":"Device id or name, e.g. 'ulanzi-d200h' (see get_overview).","title":"Device","type":"string"},"profile":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Profile id; defaults to the device's selected profile.","title":"Profile"},"slot":{"description":"Slot: r1c1 (row/column, 1-based), key13, touch1, dial1 or infobar1.","title":"Slot","type":"string"}},"required":["device","slot","child"],"title":"remove_childArguments","type":"object"},"name":"remove_child","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"remove_childOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Set the pauses between the children of a Multi Action. Staged only.","inputSchema":{"properties":{"delays_ms":{"description":"delays_ms[i] = wait after child i+1, in ms (default 100 each).","items":{"type":"integer"},"title":"Delays Ms","type":"array"},"device":{"description":"Device id or name, e.g. 'ulanzi-d200h' (see get_overview).","title":"Device","type":"string"},"profile":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Profile id; defaults to the device's selected profile.","title":"Profile"},"slot":{"description":"Slot: r1c1 (row/column, 1-based), key13, touch1, dial1 or infobar1.","title":"Slot","type":"string"}},"required":["device","slot","delays_ms"],"title":"set_multi_delaysArguments","type":"object"},"name":"set_multi_delays","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"set_multi_delaysOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Create, duplicate, rename or delete a profile, or make one the device's selected profile.\nRenaming also updates app rules and Switch Profile keys that point at it. Staged only.","inputSchema":{"properties":{"copy_from":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"For duplicate: the source (default: the selected profile).","title":"Copy From"},"device":{"description":"Device id or name, e.g. 'ulanzi-d200h' (see get_overview).","title":"Device","type":"string"},"new_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"For rename.","title":"New Name"},"operation":{"enum":["create","duplicate","rename","delete","set_default"],"title":"Operation","type":"string"},"profile":{"description":"The profile to act on (for create/duplicate: the new name). Names may be 'Folder/Name' (one level).","title":"Profile","type":"string"}},"required":["device","operation","profile"],"title":"manage_profileArguments","type":"object"},"name":"manage_profile","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"manage_profileOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Switch a device to a profile automatically when an app is focused. Staged only.","inputSchema":{"properties":{"app":{"description":"The app's display name as OpenDeck sees it (e.g. 'Visual Studio Code', 'Chatterino'), or 'opendeck_default' for the fallback when no rule matches.","title":"App","type":"string"},"device":{"description":"Device id or name, e.g. 'ulanzi-d200h' (see get_overview).","title":"Device","type":"string"},"profile":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Profile to switch to; null removes the rule.","title":"Profile"}},"required":["app","device","profile"],"title":"set_app_ruleArguments","type":"object"},"name":"set_app_rule","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"set_app_ruleOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Change a plugin's global (plugin-wide) settings, e.g. a server URL. Staged only.","inputSchema":{"properties":{"plugin":{"description":"Plugin name or folder id.","title":"Plugin","type":"string"},"remove_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"title":"Remove Keys"},"values":{"additionalProperties":true,"description":"Merged into the plugin's global settings. «redacted» keeps a secret.","title":"Values","type":"object"}},"required":["plugin","values"],"title":"set_plugin_settingsArguments","type":"object"},"name":"set_plugin_settings","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"set_plugin_settingsOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Tell opendeck-mcp a device's key grid size when it can't detect it (stored locally; doesn't\ntouch OpenDeck). Usually unnecessary: the bridge plugin records it automatically.","inputSchema":{"properties":{"columns":{"title":"Columns","type":"integer"},"device":{"description":"Device id or name, e.g. 'ulanzi-d200h' (see get_overview).","title":"Device","type":"string"},"rows":{"title":"Rows","type":"integer"}},"required":["device","rows","columns"],"title":"set_device_layoutArguments","type":"object"},"name":"set_device_layout","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"set_device_layoutOutput","type":"object"}},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true},"description":"Show everything staged: per device/profile/slot changes, warnings (commands that will run, plugins\nthat will be installed), and conflicts with edits made in OpenDeck since staging.","inputSchema":{"properties":{"detail":{"default":"summary","description":"summary: per-key changes and warnings; files: JSON diffs.","enum":["summary","files"],"title":"Detail","type":"string"}},"title":"preview_changesArguments","type":"object"},"name":"preview_changes","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"preview_changesOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Drop staged changes without applying them.","inputSchema":{"properties":{"which":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}],"default":"all","description":"'all', 'last', or staged op ids like ['op3', 'op5'] (see preview_changes).","title":"Which"}},"title":"discard_changesArguments","type":"object"},"name":"discard_changes","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"discard_changesOutput","type":"object"}},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true},"description":"A picture of the deck as OpenDeck draws it: icons, titles, colours, dials, with staged\nchanges outlined. Use it to check a layout before applying, or to show the user.","inputSchema":{"properties":{"compare":{"default":false,"description":"Now and after-apply side by side.","title":"Compare","type":"boolean"},"device":{"description":"Device id or name, e.g. 'ulanzi-d200h' (see get_overview).","title":"Device","type":"string"},"profile":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Profile id; defaults to the device's selected profile.","title":"Profile"},"staged":{"default":true,"description":"Include staged changes (outlined).","title":"Staged","type":"boolean"}},"required":["device"],"title":"render_profileArguments","type":"object"},"name":"render_profile"},{"annotations":{"destructiveHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Make a key image: text, an emoji, a brand logo or a generic symbol on a coloured square.\nReturns a preview and a file path to pass as `image` to set_key / update_key / add_child.","inputSchema":{"properties":{"background":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"#RRGGBB; default dark grey, or the brand colour for brand: icons.","title":"Background"},"colour":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"#RRGGBB for text/symbol; default black or white, whichever reads better.","title":"Colour"},"font":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Font for text: icons (OpenDeck's title fonts).","title":"Font"},"icon":{"description":"text:Hi (use \n for a second line), emoji:🔥, brand:github (Simple Icons slug) or mdi:lightbulb-on (Material Design Icons name). Names: find_icons.","title":"Icon","type":"string"},"scale":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Size of the art, 0.2-1.0.","title":"Scale"},"style":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Regular, Bold, Italic or Bold Italic.","title":"Style"}},"required":["icon"],"title":"make_iconArguments","type":"object"},"name":"make_icon"},{"annotations":{"openWorldHint":true,"readOnlyHint":true},"description":"Find icon names for make_icon.","inputSchema":{"properties":{"icon_set":{"default":"all","description":"mdi: ~7,400 generic symbols; brand: ~3,400 logos (Simple Icons).","enum":["all","mdi","brand"],"title":"Icon Set","type":"string"},"limit":{"default":20,"title":"Limit","type":"integer"},"query":{"description":"Words, e.g. 'microphone off' or 'spotify'.","title":"Query","type":"string"}},"required":["query"],"title":"find_iconsArguments","type":"object"},"name":"find_icons","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"find_iconsOutput","type":"object"}},{"annotations":{"openWorldHint":true,"readOnlyHint":true},"description":"Find Home Assistant entities (id, name, state, area) to put on keys, using the Home Assistant\nplugin's saved login. With no filters, lists the areas and domains.","inputSchema":{"properties":{"area":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Area name, exactly as Home Assistant shows it.","title":"Area"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"e.g. light, switch, scene, script.","title":"Domain"},"limit":{"default":25,"title":"Limit","type":"integer"},"query":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Words to match in id, name or area.","title":"Query"}},"title":"ha_searchArguments","type":"object"},"name":"ha_search","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"ha_searchOutput","type":"object"}},{"annotations":{"openWorldHint":true,"readOnlyHint":true},"description":"One Home Assistant entity: state, attributes, area, the services its domain offers, and\nready-made settings for a Home Assistant key that controls it.","inputSchema":{"properties":{"entity_id":{"title":"Entity Id","type":"string"}},"required":["entity_id"],"title":"ha_describe_entityArguments","type":"object"},"name":"ha_describe_entity","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"ha_describe_entityOutput","type":"object"}},{"annotations":{"destructiveHint":true,"openWorldHint":true,"readOnlyHint":false},"description":"Call a Home Assistant service right now, e.g. to test what a key will do. Acts on the real\nhome: call with confirm=false first and get the user's OK.","inputSchema":{"properties":{"confirm":{"default":false,"description":"false: describe only; true: call it.","title":"Confirm","type":"boolean"},"data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Extra service data.","title":"Data"},"entity_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Entity Id"},"service":{"description":"domain.service, e.g. light.toggle.","title":"Service","type":"string"}},"required":["service"],"title":"ha_call_serviceArguments","type":"object"},"name":"ha_call_service","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"ha_call_serviceOutput","type":"object"}},{"annotations":{"openWorldHint":true,"readOnlyHint":true},"description":"Search for plugins to install, with author, repository and installed/available versions.","inputSchema":{"properties":{"limit":{"default":15,"title":"Limit","type":"integer"},"query":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Search text.","title":"Query"},"source":{"default":"catalogue","description":"catalogue: open-source OpenAction plugins (same list as OpenDeck's Plugin Manager); archive: rehosted Elgato Stream Deck plugins; installed: what's installed.","enum":["catalogue","archive","installed"],"title":"Source","type":"string"}},"title":"find_pluginsArguments","type":"object"},"name":"find_plugins","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"find_pluginsOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Install, update or remove a plugin. Installing runs third-party code on the user's computer: call\nfirst with confirm=false, show the user what was found (author, version, checksum, AI-assisted flag),\nand only stage it with confirm=true after they agree. Removal clears the plugin's keys everywhere.","inputSchema":{"properties":{"confirm":{"default":false,"description":"false: download and inspect only. true: stage it (after the user agreed).","title":"Confirm","type":"boolean"},"operation":{"enum":["install","update","remove"],"title":"Operation","type":"string"},"plugin_id":{"description":"Catalogue id (see find_plugins) or installed id.","title":"Plugin Id","type":"string"},"source":{"default":"catalogue","enum":["catalogue","archive","url"],"title":"Source","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Direct .streamDeckPlugin/.zip URL for source=url.","title":"Url"}},"required":["operation","plugin_id"],"title":"stage_pluginArguments","type":"object"},"name":"stage_plugin","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"stage_pluginOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"The only tool that changes OpenDeck. Stops OpenDeck, backs up, writes all staged changes, verifies\nthem and restarts OpenDeck. Call with confirm=false first and show the user the result.","inputSchema":{"properties":{"allow_untested_version":{"default":false,"title":"Allow Untested Version","type":"boolean"},"confirm":{"default":false,"description":"false: show what would happen. true: apply (only after the user agreed).","title":"Confirm","type":"boolean"},"on_conflict":{"default":"abort","enum":["abort","skip"],"title":"On Conflict","type":"string"},"show_window":{"default":false,"description":"Open OpenDeck's window after restarting.","title":"Show Window","type":"boolean"}},"title":"apply_changesArguments","type":"object"},"name":"apply_changes","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"apply_changesOutput","type":"object"}},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true},"description":"Backups taken by apply_changes and restore_backup, newest first.","inputSchema":{"properties":{"limit":{"default":10,"title":"Limit","type":"integer"}},"title":"list_backupsArguments","type":"object"},"name":"list_backups","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"list_backupsOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Undo an apply: put the files it changed back as they were (restarts OpenDeck). Call with\nconfirm=false first to see what would be restored.","inputSchema":{"properties":{"backup_id":{"title":"Backup Id","type":"string"},"confirm":{"default":false,"title":"Confirm","type":"boolean"},"show_window":{"default":false,"title":"Show Window","type":"boolean"}},"required":["backup_id"],"title":"restore_backupArguments","type":"object"},"name":"restore_backup","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"restore_backupOutput","type":"object"}}],"ttlMs":0}}}
{"at":"2026-11-23T05:25:35.793Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T05:25:36.862Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"experimental":{},"prompts":{"listChanged":false},"resources":{"listChanged":false,"subscribe":false},"tools":{"listChanged":false}},"instructions":"Configure OpenDeck (open-source Stream Deck software) and the decks it drives.\n\nWorkflow:\n1. get_overview first: devices, their grids, profiles, plugins.\n2. show_profile to see a profile's keys. Slots are named r<row>c<col> (1-based grid keys), key<N>\n   (0-based raw position), touch<N>, dial<N>, infobar<N>, and <slot>/child<N> inside multi/toggle actions.\n3. list_actions / describe_action before placing an action: describe_action explains its settings.\n4. Edit with set_key, update_key, clear_key, move_key, add_child, remove_child, set_multi_delays,\n   manage_profile, set_app_rule, set_plugin_settings, stage_plugin. These STAGE changes, except that\n   update_key applies title/image/settings tweaks on the showing profile instantly (undo_live undoes them).\n5. preview_changes (and render_profile for a picture), show the user, then apply_changes(confirm=true)\n   once they agree.\n   Applying restarts OpenDeck (a few seconds) and takes a backup; restore_backup undoes it.\n\nSecrets in plugin settings are shown as «redacted»; passing «redacted» back keeps the stored value.\nRun Command / Simulate Input keys execute things on the user's computer: say so when staging them.\nInstalling plugins runs third-party code: always get the user's explicit go-ahead.\nHome Assistant keys: ha_search finds entities, ha_describe_entity gives ready-made key settings.\nKey images: make_icon (find_icons for names) makes one and returns a path to pass as `image`.\n","protocolVersion":"2025-11-25","serverInfo":{"name":"opendeck","title":"OpenDeck","version":"0.5.0"}}}}
{"at":"2026-11-23T05:25:36.862Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T05:25:36.862Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T05:25:36.866Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true},"description":"Start here. Lists devices (grid size, dials, touchpoints, connected), each device's profiles and\nwhich is selected, installed plugins, whether OpenDeck is running, and how many changes are staged.","inputSchema":{"properties":{},"title":"get_overviewArguments","type":"object"},"name":"get_overview","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"get_overviewOutput","type":"object"}},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true},"description":"Render a profile: a grid sketch plus every occupied slot with its action, title and state.\nIncludes staged (not yet applied) changes, marked with *. Slot labels shown are the ones the\nediting tools accept.","inputSchema":{"properties":{"device":{"description":"Device id or name, e.g. 'ulanzi-d200h' (see get_overview).","title":"Device","type":"string"},"profile":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Profile id; defaults to the device's selected profile.","title":"Profile"},"show_children":{"default":true,"title":"Show Children","type":"boolean"},"show_settings":{"default":false,"description":"Include each key's settings (redacted).","title":"Show Settings","type":"boolean"}},"required":["device"],"title":"show_profileArguments","type":"object"},"name":"show_profile","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"show_profileOutput","type":"object"}},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true},"description":"List actions that can be placed on keys or dials: name, plugin, uuid, controllers, states.\nIncludes OpenDeck's Multi Action and Toggle Action, and plugins staged for install.","inputSchema":{"properties":{"controller":{"anyOf":[{"enum":["Keypad","Encoder"],"type":"string"},{"type":"null"}],"default":null,"description":"Keypad for keys, Encoder for dials.","title":"Controller"},"plugin":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Only this plugin (name or id).","title":"Plugin"},"query":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Filter by text in name/plugin/uuid.","title":"Query"}},"title":"list_actionsArguments","type":"object"},"name":"list_actions","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"list_actionsOutput","type":"object"}},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true},"description":"Explain one action's settings before placing it: a curated schema for OpenDeck and Starter Pack\nactions, otherwise hints read from the plugin's settings page, plus real settings from the user's\nexisting keys (secrets redacted).","inputSchema":{"properties":{"action":{"description":"Action uuid or name, e.g. 'Open URL'.","title":"Action","type":"string"}},"required":["action"],"title":"describe_actionArguments","type":"object"},"name":"describe_action","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"describe_actionOutput","type":"object"}},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true},"description":"Show a plugin's global (plugin-wide) settings with secret values redacted.","inputSchema":{"properties":{"plugin":{"description":"Plugin name or folder id.","title":"Plugin","type":"string"}},"required":["plugin"],"title":"get_plugin_settingsArguments","type":"object"},"name":"get_plugin_settings","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"get_plugin_settingsOutput","type":"object"}},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true},"description":"Tail OpenDeck's log or a plugin's log (tokens redacted). Useful after apply_changes.","inputSchema":{"properties":{"grep":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Only lines matching this regex.","title":"Grep"},"lines":{"default":80,"title":"Lines","type":"integer"},"plugin":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Plugin name/id, or omit for OpenDeck's own log.","title":"Plugin"}},"title":"read_logsArguments","type":"object"},"name":"read_logs","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"read_logsOutput","type":"object"}},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true},"description":"Show automatic profile switching: which profile each device switches to when an app is focused.","inputSchema":{"properties":{},"title":"get_app_rulesArguments","type":"object"},"name":"get_app_rules","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"get_app_rulesOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Place an action on a key or dial, replacing whatever is there. For dials use dial<N> with an action\nthat supports Encoder. For a Multi/Toggle Action, set it here, then add_child. Staged only.","inputSchema":{"properties":{"action":{"description":"Action uuid or name (see list_actions).","title":"Action","type":"string"},"device":{"description":"Device id or name, e.g. 'ulanzi-d200h' (see get_overview).","title":"Device","type":"string"},"image":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Key image: a file path, an http(s) URL, or a data: URL; 'default' restores the action's own.","title":"Image"},"profile":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Profile id; defaults to the device's selected profile.","title":"Profile"},"settings":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"The action's settings object (see describe_action).","title":"Settings"},"slot":{"description":"Slot: r1c1 (row/column, 1-based), key13, touch1, dial1 or infobar1.","title":"Slot","type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Text drawn on the key; \\n for a new line.","title":"Title"},"title_style":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Title look: show (bool), colour (#RRGGBB), size (int), family (font), style (Regular|Bold|Italic|Bold Italic), alignment (top|middle|bottom), underline (bool), stroke_colour, stroke_size, background_colour.","title":"Title Style"}},"required":["device","slot","action"],"title":"set_keyArguments","type":"object"},"name":"set_key","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"set_keyOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Change an existing key without replacing its action: title, title style, image, settings,\nor which state it shows.\n\nTitle text, image and settings changes on the profile a connected device is showing apply\ninstantly, with no restart (undo with undo_live). Anything else (title style, current state,\nanother profile, a device with staged changes) is staged for apply_changes; the result says\nwhich happened. A live settings change reaches the plugin as if edited in OpenDeck's own panel;\nif that key's settings panel is open in OpenDeck, reopen it to see the change.","inputSchema":{"properties":{"current_state":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Current State"},"device":{"description":"Device id or name, e.g. 'ulanzi-d200h' (see get_overview).","title":"Device","type":"string"},"image":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Key image: a file path, an http(s) URL, or a data: URL; 'default' restores the action's own.","title":"Image"},"mode":{"default":"auto","description":"auto: apply instantly when possible, else stage; live: instantly or fail; staged: always stage.","enum":["auto","live","staged"],"title":"Mode","type":"string"},"profile":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Profile id; defaults to the device's selected profile.","title":"Profile"},"remove_settings":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"title":"Remove Settings"},"settings_merge":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Merged into the settings (JSON merge patch: null deletes a key).","title":"Settings Merge"},"settings_replace":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Replaces the settings entirely.","title":"Settings Replace"},"slot":{"description":"Slot, or <slot>/child<N> for a child.","title":"Slot","type":"string"},"state":{"anyOf":[{"type":"integer"},{"const":"all","type":"string"},{"type":"null"}],"default":null,"description":"Which state to restyle (0-based) for multi-state actions; default all.","title":"State"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Title"},"title_style":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Title look: show (bool), colour (#RRGGBB), size (int), family (font), style (Regular|Bold|Italic|Bold Italic), alignment (top|middle|bottom), underline (bool), stroke_colour, stroke_size, background_colour.","title":"Title Style"}},"required":["device","slot"],"title":"update_keyArguments","type":"object"},"name":"update_key","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"update_keyOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Undo the latest instant (live) edits made by update_key, newest first: titles, images and\nsettings go back to what they were. Staged changes and applied plans are undone with\ndiscard_changes and restore_backup instead.","inputSchema":{"properties":{"count":{"default":1,"description":"How many of the latest live edits to undo.","title":"Count","type":"integer"}},"title":"undo_liveArguments","type":"object"},"name":"undo_live","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"undo_liveOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Make a folder: a new profile opened by a key on this one, with a Back key inside. OpenDeck\nallows one folder level, so it's created as '<this profile's folder>/<name>'. Staged only.","inputSchema":{"properties":{"back_image":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Back key image; default a generated arrow, 'default' for the action's own.","title":"Back Image"},"back_slot":{"default":"r1c1","description":"Key in the folder that goes back.","title":"Back Slot","type":"string"},"device":{"description":"Device id or name, e.g. 'ulanzi-d200h' (see get_overview).","title":"Device","type":"string"},"image":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Key image: a file path, an http(s) URL, or a data: URL; 'default' restores the action's own.","title":"Image"},"name":{"description":"Folder name, also the key's title.","title":"Name","type":"string"},"profile":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Profile id; defaults to the device's selected profile.","title":"Profile"},"slot":{"description":"Empty key that will open the folder.","title":"Slot","type":"string"}},"required":["device","slot","name"],"title":"make_folderArguments","type":"object"},"name":"make_folder","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"make_folderOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Remove the action from a key or dial. Staged only.","inputSchema":{"properties":{"device":{"description":"Device id or name, e.g. 'ulanzi-d200h' (see get_overview).","title":"Device","type":"string"},"profile":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Profile id; defaults to the device's selected profile.","title":"Profile"},"slot":{"description":"Slot: r1c1 (row/column, 1-based), key13, touch1, dial1 or infobar1.","title":"Slot","type":"string"}},"required":["device","slot"],"title":"clear_keyArguments","type":"object"},"name":"clear_key","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"clear_keyOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Move, swap or copy a key (with its settings, title, image and children), within a profile or to\nanother profile/device. Staged only.","inputSchema":{"properties":{"device":{"description":"Device id or name, e.g. 'ulanzi-d200h' (see get_overview).","title":"Device","type":"string"},"from_slot":{"description":"Slot: r1c1 (row/column, 1-based), key13, touch1, dial1 or infobar1.","title":"From Slot","type":"string"},"mode":{"default":"move","description":"move (destination must be empty), swap, or copy.","enum":["move","swap","copy"],"title":"Mode","type":"string"},"profile":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Profile id; defaults to the device's selected profile.","title":"Profile"},"to_device":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Destination device (default: same).","title":"To Device"},"to_profile":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Destination profile (default: same).","title":"To Profile"},"to_slot":{"description":"Slot: r1c1 (row/column, 1-based), key13, touch1, dial1 or infobar1.","title":"To Slot","type":"string"}},"required":["device","from_slot","to_slot"],"title":"move_keyArguments","type":"object"},"name":"move_key","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"move_keyOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Add an action inside a Multi Action (runs all children in order) or Toggle Action (cycles through\nthem, one per press). Put the Multi/Toggle Action on the key with set_key first. Staged only.","inputSchema":{"properties":{"action":{"description":"Action uuid or name to add inside it.","title":"Action","type":"string"},"delay_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Multi Action only: wait after this child, in ms (default 100).","title":"Delay Ms"},"device":{"description":"Device id or name, e.g. 'ulanzi-d200h' (see get_overview).","title":"Device","type":"string"},"image":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Key image: a file path, an http(s) URL, or a data: URL; 'default' restores the action's own.","title":"Image"},"position":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"1-based position; default last.","title":"Position"},"profile":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Profile id; defaults to the device's selected profile.","title":"Profile"},"settings":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Settings"},"slot":{"description":"Slot holding a Multi/Toggle Action.","title":"Slot","type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Title"},"title_style":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Title look: show (bool), colour (#RRGGBB), size (int), family (font), style (Regular|Bold|Italic|Bold Italic), alignment (top|middle|bottom), underline (bool), stroke_colour, stroke_size, background_colour.","title":"Title Style"}},"required":["device","slot","action"],"title":"add_childArguments","type":"object"},"name":"add_child","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"add_childOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Remove one action from inside a Multi/Toggle Action. Staged only.","inputSchema":{"properties":{"child":{"description":"1-based child number.","title":"Child","type":"integer"},"device":{"description":"Device id or name, e.g. 'ulanzi-d200h' (see get_overview).","title":"Device","type":"string"},"profile":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Profile id; defaults to the device's selected profile.","title":"Profile"},"slot":{"description":"Slot: r1c1 (row/column, 1-based), key13, touch1, dial1 or infobar1.","title":"Slot","type":"string"}},"required":["device","slot","child"],"title":"remove_childArguments","type":"object"},"name":"remove_child","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"remove_childOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Set the pauses between the children of a Multi Action. Staged only.","inputSchema":{"properties":{"delays_ms":{"description":"delays_ms[i] = wait after child i+1, in ms (default 100 each).","items":{"type":"integer"},"title":"Delays Ms","type":"array"},"device":{"description":"Device id or name, e.g. 'ulanzi-d200h' (see get_overview).","title":"Device","type":"string"},"profile":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Profile id; defaults to the device's selected profile.","title":"Profile"},"slot":{"description":"Slot: r1c1 (row/column, 1-based), key13, touch1, dial1 or infobar1.","title":"Slot","type":"string"}},"required":["device","slot","delays_ms"],"title":"set_multi_delaysArguments","type":"object"},"name":"set_multi_delays","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"set_multi_delaysOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Create, duplicate, rename or delete a profile, or make one the device's selected profile.\nRenaming also updates app rules and Switch Profile keys that point at it. Staged only.","inputSchema":{"properties":{"copy_from":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"For duplicate: the source (default: the selected profile).","title":"Copy From"},"device":{"description":"Device id or name, e.g. 'ulanzi-d200h' (see get_overview).","title":"Device","type":"string"},"new_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"For rename.","title":"New Name"},"operation":{"enum":["create","duplicate","rename","delete","set_default"],"title":"Operation","type":"string"},"profile":{"description":"The profile to act on (for create/duplicate: the new name). Names may be 'Folder/Name' (one level).","title":"Profile","type":"string"}},"required":["device","operation","profile"],"title":"manage_profileArguments","type":"object"},"name":"manage_profile","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"manage_profileOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Switch a device to a profile automatically when an app is focused. Staged only.","inputSchema":{"properties":{"app":{"description":"The app's display name as OpenDeck sees it (e.g. 'Visual Studio Code', 'Chatterino'), or 'opendeck_default' for the fallback when no rule matches.","title":"App","type":"string"},"device":{"description":"Device id or name, e.g. 'ulanzi-d200h' (see get_overview).","title":"Device","type":"string"},"profile":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Profile to switch to; null removes the rule.","title":"Profile"}},"required":["app","device","profile"],"title":"set_app_ruleArguments","type":"object"},"name":"set_app_rule","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"set_app_ruleOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Change a plugin's global (plugin-wide) settings, e.g. a server URL. Staged only.","inputSchema":{"properties":{"plugin":{"description":"Plugin name or folder id.","title":"Plugin","type":"string"},"remove_keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"title":"Remove Keys"},"values":{"additionalProperties":true,"description":"Merged into the plugin's global settings. «redacted» keeps a secret.","title":"Values","type":"object"}},"required":["plugin","values"],"title":"set_plugin_settingsArguments","type":"object"},"name":"set_plugin_settings","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"set_plugin_settingsOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Tell opendeck-mcp a device's key grid size when it can't detect it (stored locally; doesn't\ntouch OpenDeck). Usually unnecessary: the bridge plugin records it automatically.","inputSchema":{"properties":{"columns":{"title":"Columns","type":"integer"},"device":{"description":"Device id or name, e.g. 'ulanzi-d200h' (see get_overview).","title":"Device","type":"string"},"rows":{"title":"Rows","type":"integer"}},"required":["device","rows","columns"],"title":"set_device_layoutArguments","type":"object"},"name":"set_device_layout","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"set_device_layoutOutput","type":"object"}},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true},"description":"Show everything staged: per device/profile/slot changes, warnings (commands that will run, plugins\nthat will be installed), and conflicts with edits made in OpenDeck since staging.","inputSchema":{"properties":{"detail":{"default":"summary","description":"summary: per-key changes and warnings; files: JSON diffs.","enum":["summary","files"],"title":"Detail","type":"string"}},"title":"preview_changesArguments","type":"object"},"name":"preview_changes","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"preview_changesOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Drop staged changes without applying them.","inputSchema":{"properties":{"which":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}],"default":"all","description":"'all', 'last', or staged op ids like ['op3', 'op5'] (see preview_changes).","title":"Which"}},"title":"discard_changesArguments","type":"object"},"name":"discard_changes","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"discard_changesOutput","type":"object"}},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true},"description":"A picture of the deck as OpenDeck draws it: icons, titles, colours, dials, with staged\nchanges outlined. Use it to check a layout before applying, or to show the user.","inputSchema":{"properties":{"compare":{"default":false,"description":"Now and after-apply side by side.","title":"Compare","type":"boolean"},"device":{"description":"Device id or name, e.g. 'ulanzi-d200h' (see get_overview).","title":"Device","type":"string"},"profile":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Profile id; defaults to the device's selected profile.","title":"Profile"},"staged":{"default":true,"description":"Include staged changes (outlined).","title":"Staged","type":"boolean"}},"required":["device"],"title":"render_profileArguments","type":"object"},"name":"render_profile"},{"annotations":{"destructiveHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Make a key image: text, an emoji, a brand logo or a generic symbol on a coloured square.\nReturns a preview and a file path to pass as `image` to set_key / update_key / add_child.","inputSchema":{"properties":{"background":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"#RRGGBB; default dark grey, or the brand colour for brand: icons.","title":"Background"},"colour":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"#RRGGBB for text/symbol; default black or white, whichever reads better.","title":"Colour"},"font":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Font for text: icons (OpenDeck's title fonts).","title":"Font"},"icon":{"description":"text:Hi (use \n for a second line), emoji:🔥, brand:github (Simple Icons slug) or mdi:lightbulb-on (Material Design Icons name). Names: find_icons.","title":"Icon","type":"string"},"scale":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Size of the art, 0.2-1.0.","title":"Scale"},"style":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Regular, Bold, Italic or Bold Italic.","title":"Style"}},"required":["icon"],"title":"make_iconArguments","type":"object"},"name":"make_icon"},{"annotations":{"openWorldHint":true,"readOnlyHint":true},"description":"Find icon names for make_icon.","inputSchema":{"properties":{"icon_set":{"default":"all","description":"mdi: ~7,400 generic symbols; brand: ~3,400 logos (Simple Icons).","enum":["all","mdi","brand"],"title":"Icon Set","type":"string"},"limit":{"default":20,"title":"Limit","type":"integer"},"query":{"description":"Words, e.g. 'microphone off' or 'spotify'.","title":"Query","type":"string"}},"required":["query"],"title":"find_iconsArguments","type":"object"},"name":"find_icons","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"find_iconsOutput","type":"object"}},{"annotations":{"openWorldHint":true,"readOnlyHint":true},"description":"Find Home Assistant entities (id, name, state, area) to put on keys, using the Home Assistant\nplugin's saved login. With no filters, lists the areas and domains.","inputSchema":{"properties":{"area":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Area name, exactly as Home Assistant shows it.","title":"Area"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"e.g. light, switch, scene, script.","title":"Domain"},"limit":{"default":25,"title":"Limit","type":"integer"},"query":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Words to match in id, name or area.","title":"Query"}},"title":"ha_searchArguments","type":"object"},"name":"ha_search","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"ha_searchOutput","type":"object"}},{"annotations":{"openWorldHint":true,"readOnlyHint":true},"description":"One Home Assistant entity: state, attributes, area, the services its domain offers, and\nready-made settings for a Home Assistant key that controls it.","inputSchema":{"properties":{"entity_id":{"title":"Entity Id","type":"string"}},"required":["entity_id"],"title":"ha_describe_entityArguments","type":"object"},"name":"ha_describe_entity","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"ha_describe_entityOutput","type":"object"}},{"annotations":{"destructiveHint":true,"openWorldHint":true,"readOnlyHint":false},"description":"Call a Home Assistant service right now, e.g. to test what a key will do. Acts on the real\nhome: call with confirm=false first and get the user's OK.","inputSchema":{"properties":{"confirm":{"default":false,"description":"false: describe only; true: call it.","title":"Confirm","type":"boolean"},"data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"description":"Extra service data.","title":"Data"},"entity_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Entity Id"},"service":{"description":"domain.service, e.g. light.toggle.","title":"Service","type":"string"}},"required":["service"],"title":"ha_call_serviceArguments","type":"object"},"name":"ha_call_service","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"ha_call_serviceOutput","type":"object"}},{"annotations":{"openWorldHint":true,"readOnlyHint":true},"description":"Search for plugins to install, with author, repository and installed/available versions.","inputSchema":{"properties":{"limit":{"default":15,"title":"Limit","type":"integer"},"query":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Search text.","title":"Query"},"source":{"default":"catalogue","description":"catalogue: open-source OpenAction plugins (same list as OpenDeck's Plugin Manager); archive: rehosted Elgato Stream Deck plugins; installed: what's installed.","enum":["catalogue","archive","installed"],"title":"Source","type":"string"}},"title":"find_pluginsArguments","type":"object"},"name":"find_plugins","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"find_pluginsOutput","type":"object"}},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false},"description":"Install, update or remove a plugin. Installing runs third-party code on the user's computer: call\nfirst with confirm=false, show the user what was found (author, version, checksum, AI-assisted flag),\nand only stage it with confirm=true after they agree. Removal clears the plugin's keys everywhere.","inputSchema":{"properties":{"confirm":{"default":false,"description":"false: download and inspect only. true: stage it (after the user agreed).","title":"Confirm","type":"boolean"},"operation":{"enum":["install","update","remove"],"title":"Operation","type":"string"},"plugin_id":{"description":"Catalogue id (see find_plugins) or installed id.","title":"Plugin Id","type":"string"},"source":{"default":"catalogue","enum":["catalogue","archive","url"],"title":"Source","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Direct .streamDeckPlugin/.zip URL for source=url.","title":"Url"}},"required":["operation","plugin_id"],"title":"stage_pluginArguments","type":"object"},"name":"stage_plugin","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"stage_pluginOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"The only tool that changes OpenDeck. Stops OpenDeck, backs up, writes all staged changes, verifies\nthem and restarts OpenDeck. Call with confirm=false first and show the user the result.","inputSchema":{"properties":{"allow_untested_version":{"default":false,"title":"Allow Untested Version","type":"boolean"},"confirm":{"default":false,"description":"false: show what would happen. true: apply (only after the user agreed).","title":"Confirm","type":"boolean"},"on_conflict":{"default":"abort","enum":["abort","skip"],"title":"On Conflict","type":"string"},"show_window":{"default":false,"description":"Open OpenDeck's window after restarting.","title":"Show Window","type":"boolean"}},"title":"apply_changesArguments","type":"object"},"name":"apply_changes","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"apply_changesOutput","type":"object"}},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true},"description":"Backups taken by apply_changes and restore_backup, newest first.","inputSchema":{"properties":{"limit":{"default":10,"title":"Limit","type":"integer"}},"title":"list_backupsArguments","type":"object"},"name":"list_backups","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"list_backupsOutput","type":"object"}},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Undo an apply: put the files it changed back as they were (restarts OpenDeck). Call with\nconfirm=false first to see what would be restored.","inputSchema":{"properties":{"backup_id":{"title":"Backup Id","type":"string"},"confirm":{"default":false,"title":"Confirm","type":"boolean"},"show_window":{"default":false,"title":"Show Window","type":"boolean"}},"required":["backup_id"],"title":"restore_backupArguments","type":"object"},"name":"restore_backup","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"restore_backupOutput","type":"object"}}]}}}
