unity_prefab
Instantiate a prefab into the Unity scene or save a GameObject as a prefab asset, enabling scene assembly and reusable object creation.
Instructions
Instantiate a prefab into the scene or save a GameObject as a prefab. (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": {
"action": "<action>",
"path": "<path>"
},
"name": "unity_prefab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | prefab asset path | |
| action | Yes | ||
| parent | No | ||
| target | No | for save: GameObject path |