Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Creates a new Unity GameObject in the open Prefab or Scene, with optional parent, transform, and primitive shape.
36% 86%+50 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 8 of 22 without it.
3 of 3 safety checks passed
21 agent runs
Create a new GameObject in opened Prefab or in a Scene. If needed - provide proper 'position', 'rotation' and 'scale' to reduce amount of operations.
name — required non-empty name.parentGameObjectRef (optional) — when provided, the new GameObject is parented under this one (SetParent(parent, worldPositionStays: false)); otherwise it's created at scene/prefab root.position / rotation / scale — optional transform; default to zero / zero / one.isLocalSpace — when true, applies the transform in local space relative to the parent.primitiveType (optional) — when set, the GameObject is created via GameObject.CreatePrimitive (adds the appropriate renderer/collider for the primitive shape).unity-mcp-cli run-tool gameobject-create --input '{
"name": "string_value",
"parentGameObjectRef": "string_value",
"position": "string_value",
"rotation": "string_value",
"scale": "string_value",
"isLocalSpace": false,
"primitiveType": "string_value"
}'
For complex input (multi-line strings, code), save the JSON to a file and use:
unity-mcp-cli run-tool gameobject-create --input-file args.jsonOr pipe via stdin (recommended):
unity-mcp-cli run-tool gameobject-create --input-file - <<'EOF' {"param": "value"} EOF
Next to this one in the catalogue, plus more from the same author.