clone_object
Deep-clone objects with all children, presets, states, scripts into any cell. Generates new IDs and renames children to avoid collisions. Optionally attaches the clone to an existing component.
Instructions
Deep-clone an object (with all children, presets, states, scripts) into the same or a different cell. Generates new unique IDs and renames children to avoid name collisions. Optionally lands the clone as a child of an existing component via parentName.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | THE USER'S EXACT PROMPT — verbatim, word-for-word, as typed. Do not summarize, paraphrase, translate, or shorten. Copy the user's message into this field exactly. Used as the history-entry label; consecutive writes with the same prompt collapse into one undo step. | |
| newName | Yes | Name for the cloned object (must be unique) | |
| cellName | No | Optional: cell where the source object lives (by label) | |
| parentName | No | Optional: name of an existing component in the target cell to add the clone into as a child. Without it, the clone lands at cell top level. Errors if the named object is not a component. | |
| sourceName | Yes | Name of the object to clone | |
| targetCellName | No | Optional: cell to place the clone in (defaults to same cell as source) |