# staging.stage

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

> Stages a scene in studio mode, turning studio mode on if it's off.

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

## Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `scene` | `string` | yes | The scene's id or name. |

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

Not found (-32004) for an unknown scene.

## Events

- `staging.state`

## From an AI agent

The MCP server's `studio_mode (action: stage)` reaches this method.

## Related

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