nr_install_module
Installs a Node-RED module from the npm registry using the module name. Add new capabilities to your Node-RED environment.
Instructions
Install a new Node-RED module (npm package) from the registry. Use nr_get_installed_modules to check what's already installed first. Installation may take 30-60 seconds.
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_name": "<module_name>"
},
"name": "nr_install_module"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |