plugins.enable
Turns a helper or script plugin on or off.
JSON-RPC 2.0not for scripts
Parameters
- packagestringrequiredThe plugin's package id or name.
- enabledbooleanrequiredOn or off.
Result
- enabledbooleanAs set.
Errors
Not found (-32004) when it isn't installed. Invalid params (-32602) when the package isn't a helper or script, or is PiAir. Invalid params (-32602) without enabled.
From an AI agent
The MCP server's plugins (action: enable or disable) reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "plugins.enable", "params": {}}lightair call plugins.enable