# packages.remove

Source: https://docs.lightair.app/developers/remote-api/packages.remove

> Removes an installed package, or one version of it.

JSON-RPC 2.0 method of Lightair's Remote API (ws://localhost:4455/rpc). Group: Packages and plugins. Script plugins need the `project.write` permission.

While the open show uses the package, it's refused with the objects and scenes that use it; `force` removes it anyway.

## Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `package` | `string` | yes | The package's id or name. |
| `version` | `string` | no | Only this version. |
| `force` | `boolean` | no | Remove it even though the show uses it. |

## Result

| Name | Type | Required | Description |
|---|---|---|---|
| `removed` | `boolean` | no | true. |

## 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.

## Related

- [packages.list](https://docs.lightair.app/developers/remote-api/packages.list.md)
- [packages.install](https://docs.lightair.app/developers/remote-api/packages.install.md)
