packages.remove
Removes an installed package, or one version of it.
JSON-RPC 2.0project.write
While the open show uses the package, it's refused with the objects and scenes that use it; force removes it anyway.
Parameters
- packagestringrequiredThe package's id or name.
- versionstringOnly this version.
- forcebooleanRemove it even though the show uses it.
Result
- removedbooleantrue.
Errors
Not found (-32004) when it isn't installed. Invalid params (-32602) for a version that can't be read. A state error (-32005) while the show uses it, without force.
From an AI agent
The MCP server's plugins (action: remove) reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "packages.remove", "params": {}}lightair call packages.removeconst result = lightair.call("packages.remove", {});