clone_object
Creates a copy of a Roblox instance, including all child objects, and places it under a chosen parent with an optional new name.
Instructions
Clone a Roblox instance (with all children) to a parent
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": {
"instancePath": "<instancePath>"
},
"name": "clone_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newName | No | Optional: name for the cloned instance | |
| newParent | No | Optional: path to parent for the clone (defaults to same parent) | |
| instancePath | Yes | Path to the instance to clone |