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
Parameters
Section titled “Parameters”| 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 |
Example call
Section titled “Example call”The arguments below are the required ones; add the optional ones you need.
{ "name": "create_game_object", "arguments": { "name": "New GameObject" }}In SuperSave mode
Section titled “In SuperSave mode”When Unity runs with NANORA_MCP_SUPERSAVE=1, call it through the execute meta tool: {"tool": "create_game_object", "args": { … }}. See SuperSave mode.
Source
Section titled “Source”Generated from Assets/NanoraUnityMCP/Editor/Tools/CreateGameObjectTool.cs (version 1.2.1). The client receives the same schema from tools/list.