clone_instance
Copy a Roblox Studio instance together with all its descendants and return the new copy's path, recorded as a single undo step. Choose a different parent to duplicate it elsewhere.
Instructions
Copy an instance with all its descendants and return the copy's path. Recorded as one Studio undo step. Instances with Archivable=false cannot be cloned. For many copies at once use batch with several clone operations.
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": {
"path": "<path>"
},
"name": "clone_instance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Instance to copy. Dot path from the DataModel root, e.g. "Workspace.Map.Door" or "StarterGui.HUD.Frame". A leading "game." is optional; a duplicate sibling name takes the suffix Tufan prints, e.g. "Part (2)". | |
| place | No | Target place (PlaceId or project name). Defaults to the bound/sole connected place. | |
| parentPath | No | Parent for the copy. Dot path from the DataModel root, e.g. "Workspace.Map.Door" or "StarterGui.HUD.Frame". A leading "game." is optional; a duplicate sibling name takes the suffix Tufan prints, e.g. "Part (2)". Omit to use the original's parent. |