staging.enable
Turns studio mode on or off.
JSON-RPC 2.0project.write
Parameters
- enabledbooleanOn or off. Default true.
Result
- enabledbooleanWhether studio mode is on.
- stagedstring | nullThe staged scene's id.
- programstring | nullThe program scene's id.
- transition{ kind: string, duration_ms: number }The transition a take would use: the staged scene's own, else the workspace's.
Events
Subscribers to events get staging.state.
From an AI agent
The MCP server's studio_mode (action: on or off) reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "staging.enable", "params": { "enabled": true }}lightair call staging.enable '{"enabled":true}'const result = lightair.call("staging.enable", {"enabled":true});Result
{ "enabled": true, "staged": null, "program": "019ad3f2-6c1e-7a40-9b52-3f1d2e8c4a10", "transition": { "kind": "fade", "duration_ms": 300 } }