prefab
Since next
[editor or disk] create {entity, path}: subtree -> prefab file + instance.
apply {instance, paths?, target?}: overrides into the prefab or a chain level. revert {instance, paths?}. unpack {instance|instances, completely?}. list. read {path}.
| Title | Prefabs |
| Mode | |
| Token cost | about 194 tokens (listed only when its toolset is enabled) |
| Toolset | prefabs |
Arguments
| Argument | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
action | enum | yes | create, apply, revert, unpack, list, read | ||
completely | boolean | no | |||
entity | string | no | |||
instance | string | no | |||
instances | string[] | no | |||
path | string | no | |||
paths | string[] | no | |||
save | boolean | no | true saves the scene afterwards. | ||
scene | string | no | The scene file to act on. The open scene when absent. | ||
target | string | no |
Example
An MCP tools/call with the required arguments (placeholders in angle brackets).
{
"name": "prefab",
"arguments": {
"action": "create"
}
}