# effects.update

Source: https://docs.lightair.app/developers/remote-api/effects.update

> Changes an effect's settings, name or switch.

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

Name one target: `object` or `source` for video effects; `track`, `bus`, `mix` or `master: true` for audio effects. `settings` are merged into the effect's own.

## Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `object` | `string` | no | An object's id or name (its source's effects). |
| `scene` | `string` | no | The object's scene. Default: the scene being edited. |
| `source` | `string` | no | A source's id or name. |
| `track` | `string` | no | A mixer track's id or name (or its source's). |
| `bus` | `string` | no | A bus's id or name. |
| `mix` | `string` | no | A mix's id or name. |
| `master` | `boolean` | no | true for the master. |
| `effect` | `string` | yes | The effect's id, name or kind (the first of that kind). |
| `settings` | `object` | no | Settings to change. |
| `enabled` | `boolean` | no | On or off. |
| `name` | `string` | no | A new name. |

## Errors

Not found (-32004) for an unknown target or effect.

## Events

- `workspace.changed`

## From an AI agent

The MCP server's `effects (action: update) or studio_fx (action: off)` reaches this method.

## Example

```json
{ "jsonrpc": "2.0", "id": 1, "method": "effects.update", "params": { "track": "Mic", "effect": "Compressor", "enabled": false } }
```

Result:

```json
{}
```

## Related

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