scene.create
Adds an empty scene, and optionally puts it on air.
JSON-RPC 2.0project.write
Parameters
- namestringrequiredThe new scene's name.
- switchbooleanPut it on air at once.
Result
- idstringThe new scene's id.
- namestringIts name.
Errors
Invalid params (-32602) without name.
Events
Subscribers to events get scene.list, workspace.changed.
From an AI agent
The MCP server's create_scene reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "scene.create", "params": { "name": "Starting soon" }}lightair call scene.create '{"name":"Starting soon"}'const result = lightair.call("scene.create", {"name":"Starting soon"});Result
{ "id": "019ad3f2-7d20-7b11-8c03-5a2e9f1b6d21", "name": "Starting soon" }