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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sourceName": "<sourceName>",
"newName": "<newName>",
"prompt": "<prompt>"
},
"name": "clone_object"
}
}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) |