object.remove
Removes an object from a scene; its source stays.
JSON-RPC 2.0project.write
Parameters
- objectstringrequiredThe object's id or name.
- scenestringIts scene's id or name. Default: the scene being edited.
Errors
Not found (-32004) for an unknown scene or object.
Events
Subscribers to events get workspace.changed.
From an AI agent
The MCP server's remove_object reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "object.remove", "params": { "object": "Old logo", "scene": "Main" }}lightair call object.remove '{"object":"Old logo","scene":"Main"}'const result = lightair.call("object.remove", {"object":"Old logo","scene":"Main"});Result
{}