Skip to content
Changelog

editor.projects.save_copy

Saves the open project as an editable copy in this version's format, and opens the copy.

JSON-RPC 2.0project.write

For a project a newer Lightair made, which opens read-only.

Parameters

None.

Result

  • idstringThe copy's id.
  • namestringThe copy's name.

Errors

A state error (-32005) when it can't be saved.

Events

Subscribers to events get editor.changed.

From an AI agent

The MCP server's editor_projects (action: save_copy) reaches this method.

Example

ws://localhost:4455/rpc
{
"jsonrpc": "2.0",
"id": 1,
"method": "editor.projects.save_copy"
}

editor.projects.list