gameobject_create
Create new GameObjects in Unity scenes, including primitives like cubes and spheres or empty objects, with customizable transforms and parenting.
Instructions
Create a new GameObject in the active Unity scene. Can create primitives (Cube, Sphere, Capsule, Cylinder, Plane, Quad) or empty GameObjects. Supports setting initial transform and parent.
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": "gameobject_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the new GameObject | |
| type | No | Primitive type: Cube, Sphere, Capsule, Cylinder, Plane, Quad. Omit for empty GameObject | |
| position | No | Initial world position | |
| rotation | No | Initial rotation in euler angles | |
| scale | No | Initial local scale | |
| parentName | No | Name of an existing GameObject to set as parent |