set_node_module_state
Enable or disable a Node-RED node module; disabling makes its nodes unavailable, while enabling restores their availability.
Instructions
Enable or disable a node module in Node-RED. When disabled, the module nodes are unavailable.
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": {
"module": "<module>",
"enabled": "<enabled>"
},
"name": "set_node_module_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module | Yes | Name of the node module to enable/disable | |
| enabled | Yes | Whether to enable (true) or disable (false) the module |