gameobject-duplicate
Installation
SKILL.md
GameObject / Duplicate
Duplicate GameObjects in opened Prefab or in a Scene. Use 'gameobject-find' tool to find the target GameObjects first.
Inputs
gameObjectRefs—GameObjectRefListof source GameObjects.
Behavior
Resolves every input ref on the main thread (throwing on any unresolved entry to keep the batch atomic). Sets Selection.entityIds/instanceIDs to the sources and invokes Unsupported.DuplicateGameObjectsUsingPasteboard() (Unity's canonical duplicate routine). Marks every distinct affected scene dirty so the duplicated objects are saved with the scene. Returns refs to the sources (the duplicates are reachable via the post-call Selection).
How to Call
unity-mcp-cli run-tool gameobject-duplicate --input '{
"gameObjectRefs": "string_value"
}'