Add API Plugins
plugin_addInstalls npm-packaged Unraid API plugins by package name, then restarts the API to load them. Requires confirm: true and CONFIG write permission; verify with plugin_list after reconnecting.
Instructions
⚠ Installs one or more Unraid API plugins by npm package name (names). This runs npm install, which executes the package's lifecycle scripts on the server (supply-chain / code-execution risk), then RESTARTS the Unraid API to load them — your connection will drop briefly. names must be bare or scoped package names (no URLs, git refs, paths, or version suffixes). Requires confirm: true and a key with CONFIG write permission (UPDATE_ANY). Reports submission; verify with plugin_list after the API reconnects. For native OS plugins (.plg files) use plugin_install_plg instead.
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": {
"names": "<names>"
},
"name": "plugin_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| names | Yes | npm package names of Unraid API plugins, bare or scoped (`@scope/name`); versions, URLs, git refs and paths are refused. | |
| confirm | No | Set `true` only after the user approves this specific change; otherwise the tool refuses or prompts them. | |
| response_format | No | `detailed` returns full JSON instead of readable text. | concise |