unity_create
Creates a GameObject (empty or primitive) in the active Unity scene, optionally parented, positioned, rotated, and scaled, to build scenes programmatically.
Instructions
Create a GameObject (empty or primitive) in the active scene, optionally parented and positioned. (Unity editor offline right now: schemas are cached; calls will fail until it reconnects)
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| scale | No | [x,y,z] | |
| parent | No | parent path or name | |
| position | No | [x,y,z] or {x,y,z} | |
| rotation | No | euler [x,y,z] | |
| primitive | No | default empty |