streamdeck_create_action
Create an executable shell script in ~/StreamDeckScripts and return a native Open action block so a Stream Deck button can run the command when pressed.
Instructions
Create an executable shell script in ~/StreamDeckScripts and return a native Open action block for it.
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": {
"name": "<name>",
"command": "<command>"
},
"name": "streamdeck_create_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable action name used for the script filename and button label. | |
| command | Yes | Shell command to run when the button is pressed. | |
| filename | No | Optional override for the script filename. | |
| working_directory | No | Optional working directory to cd into before executing the command. |