Enable/disable a command or folder
set_command_stateEnable or disable commands or command folders by name, with optional platform-side reward sync for points and extension kinds.
Instructions
Enable or disable a command, or a whole command folder, by name. For commands, "kind" picks which list the name belongs to (chat, chatbot, Twitch channel points, Kick points, or Twitch extension); points/extension kinds also sync the platform-side reward state on an up-to-date Lumia Stream.
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>",
"enabled": "<enabled>"
},
"name": "set_command_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | For target "command": which command list the name belongs to. | chat |
| name | Yes | The command or folder name. | |
| target | No | Whether "name" refers to a command or a folder. | command |
| enabled | Yes | true to enable, false to disable. |