Skip to content

create_game_object

Creates a new GameObject in the active scene, either empty or as a primitive (Cube, Sphere, etc.), with local position/rotation/scale and an optional parent. The creation is undoable and the new object becomes the selection.

Category: Scene

Name Type Required Default Description
name string yes "New GameObject" Name for the new GameObject
primitive_type string "Empty" Type of primitive to create (Cube, Sphere, Capsule, Cylinder, Plane, Quad, Empty) One of: Cube, Sphere, Capsule, Cylinder, Plane, Quad, Empty
parent_path string Path to parent GameObject (optional)
position object Initial position
rotation object Initial rotation in euler angles
scale object Initial scale

The arguments below are the required ones; add the optional ones you need.

{
"name": "create_game_object",
"arguments": {
"name": "New GameObject"
}
}

When Unity runs with NANORA_MCP_SUPERSAVE=1, call it through the execute meta tool: {"tool": "create_game_object", "args": { … }}. See SuperSave mode.

Generated from Assets/NanoraUnityMCP/Editor/Tools/CreateGameObjectTool.cs (version 1.2.1). The client receives the same schema from tools/list.