Unity Create GameObject
unity_create_gameobjectCreate a new GameObject in a Unity scene, specifying its name, parent path, and primitive type (e.g., Cube, Sphere).
Instructions
Create a new GameObject in the Unity scene under a parent path.
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": "unity_create_gameobject"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the new GameObject. | |
| parentPath | No | Parent GameObject path. Empty for scene root. | |
| primitiveType | No | Primitive type to create. | Empty |
| timeoutMs | No | Command timeout. |