scene.rename
Renames a scene.
JSON-RPC 2.0project.write
Parameters
- scenestringrequiredThe scene's id or name.
- namestringrequiredIts new name.
Errors
Not found (-32004) when the scene doesn't exist.
Events
Subscribers to events get scene.list, workspace.changed.
From an AI agent
The MCP server's rename_scene reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "scene.rename", "params": { "scene": "Scene 2", "name": "Interview" }}lightair call scene.rename '{"scene":"Scene 2","name":"Interview"}'const result = lightair.call("scene.rename", {"scene":"Scene 2","name":"Interview"});Result
{}