gameobject_clone
Clone GameObjects in Unity by specifying the original name and optional new name. The duplicate appears at the same position as the original object.
Instructions
Duplicate/clone a GameObject. The clone appears at the same position as the original.
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": {
"name": "<name>"
},
"name": "gameobject_clone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the GameObject to clone | |
| newName | No | Name for the cloned object (default: '<name> (Clone)') |