create_object
Creates a Unity GameObject by name, with optional shape or prefab, parent, and transform values relative to the parent.
Instructions
Create a GameObject. position, rotation and scale are relative to the 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": "create_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| color | No | Name or #RRGGBB | |
| scale | No | 'x,y,z' | |
| shape | No | empty | |
| parent | No | ||
| prefab | No | Prefab asset path; replaces shape | |
| position | No | 'x,y,z' | |
| rotation | No | 'x,y,z' |