Skip to content
Changelog

scene.remove

Removes a scene; a workspace always keeps at least one.

JSON-RPC 2.0project.write

An AI agent connected over MCP asks the person first, unless AI agents may go live without asking is on in Settings › Remote API.

Parameters

  • scenestringrequiredThe scene's id or name.

Errors

Not found (-32004) when the scene doesn't exist. A state error (-32005) when it's the only scene.

Events

Subscribers to events get scene.list, workspace.changed.

From an AI agent

The MCP server's remove_scene reaches this method.

Example

ws://localhost:4455/rpc
{
"jsonrpc": "2.0",
"id": 1,
"method": "scene.remove",
"params": {
"scene": "Old intro"
}
}

Result

{}

scene.create · history.undo