toggle_node_module
Enable or disable a Node-RED node module to manage its availability in the flow editor.
Instructions
Enable or disable a node module.
Args: module: Node module name enabled: True to enable, False to disable
Returns: Updated NodeModule object.
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": "toggle_node_module"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module | Yes | ||
| enabled | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| nodes | No | ||
| version | No |