create_object
Instantiate a GameObject in the Unity Editor with optional scene, parent, primitive, components, or prefab. Use this to programmatically add objects to your scene.
Instructions
Create new GameObject. components: comma-separated types to add on creation. primitive: Cube|Sphere|Cylinder|Capsule|Plane|Quad. prefab_path: instantiate from prefab asset. scene: create in named loaded scene (omit = active scene).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| scene | No | ||
| parent | No | ||
| primitive | No | ||
| components | No | ||
| prefab_path | No |