manage_library_plugin
Add, remove, or toggle a classic plugin in a library's plugin stack. Provide the plugin ID and action; for adding, also include source and stack position.
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.
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 |