create_prefab
Save a scene object as a prefab file and link the object to it, with optional overwrite for existing prefab files.
Instructions
Save a scene object as a prefab file and link the object to it.
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": {
"target": "<target>",
"path": "<path>"
},
"name": "create_prefab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | e.g. Assets/Prefabs/Enemy.prefab | |
| target | Yes | ||
| overwrite | No |