# staging.take

Source: https://docs.lightair.app/developers/remote-api/staging.take

> Puts the staged scene on air, with its transition or one given for this take only.

JSON-RPC 2.0 method of Lightair's Remote API (ws://localhost:4455/rpc). Group: Studio mode. It changes what viewers see or hear. Script plugins need the `project.write` permission.

Kinds: `cut`, `fade`, `move`, `slide`, `wipe`, `dip`, `stinger`, `scene`. `duration_ms` is at most 10000. An AI agent connected over MCP asks the person first while Lightair is live, unless **AI agents may go live without asking** is on in **Settings › Remote API**.

## Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `transition` | `{ kind: string, duration_ms?: number }` | no | A transition for this take only. |

## Result

| Name | Type | Required | Description |
|---|---|---|---|
| `enabled` | `boolean` | no | Whether studio mode is on. |
| `staged` | `string | null` | no | The staged scene's id. |
| `program` | `string | null` | no | The program scene's id. |
| `transition` | `{ kind: string, duration_ms: number }` | no | The transition a take would use: the staged scene's own, else the workspace's. |

## Errors

A state error (-32005) when nothing is staged. Invalid params (-32602) for an unknown transition kind.

## Events

- `scene.program`
- `staging.state`

## From an AI agent

The MCP server's `studio_mode (action: take)` reaches this method. Because it changes what viewers see or hear, Lightair can ask the person first.

## Example

```json
{ "jsonrpc": "2.0", "id": 1, "method": "staging.take", "params": { "transition": { "kind": "cut" } } }
```

Result:

```json
{ "enabled": true, "staged": null, "program": "019ad3f2-7d20-7b11-8c03-5a2e9f1b6d21", "transition": { "kind": "fade", "duration_ms": 300 } }
```

## Related

- [staging.stage](https://docs.lightair.app/developers/remote-api/staging.stage.md)
- [scene.switch](https://docs.lightair.app/developers/remote-api/scene.switch.md)
