manage_library_plugin
Add, remove, or enable/disable classic plugins in a Tdarr library's plugin stack by specifying library, plugin, action, source, and stack position; flow-based libraries are unaffected.
Instructions
Add, remove or enable/disable a classic plugin in a library's plugin stack. Adding requires the plugin source and the position in the stack; get the plugin IDs from search_plugins. Libraries that use a flow instead of a classic stack are not affected.
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": {
"library_id": "<library_id>",
"plugin_id": "<plugin_id>",
"action": "<action>"
},
"name": "manage_library_plugin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Position in the plugin stack, required for action 'add' | |
| action | Yes | add appends to the stack, remove deletes it, update toggles its enabled state | |
| source | No | Plugin source ('Community' or 'Local'), required for action 'add' | |
| status | No | Enabled state, required for action 'update' | |
| plugin_id | Yes | Plugin ID, from search_plugins | |
| library_id | Yes | Library ID (dbID), from list_libraries |