prefab
6 public commands in this category.
delete_prefab
Delete a user-created prefab
Scope:
scene:write. Token cost: 0.- prefabId string (required)
- Prefab ID to delete
get_prefab
Get full prefab data by ID or name
Scope:
scene:read. Token cost: 0.- prefabId string (required)
- Prefab ID or name
instantiate_prefab
Spawn a copy of a saved prefab at a position
Scope:
scene:write. Token cost: 0.- prefabId string (required)
- Prefab ID or name
- name string (optional)
- Optional name override for the spawned entity
- position array (optional)
- [x, y, z] spawn position
list_prefab_instances
Inspect saved editor link metadata for a prefab by ID or name, including overridden field names. Records do not verify scene entity placement or propagation. This read is not advertised to the in-app chat model.
Scope:
scene:read. Token cost: 0.- prefabId string (required)
- Source prefab whose instances to list
list_prefabs
List all available prefabs (built-in and user-created)
Scope:
scene:read. Token cost: 0.- category string (optional)
- Optional category filter
save_as_prefab
Save the current entity as a reusable prefab template
Scope:
scene:write. Token cost: 0.- entityId string (required)
- Entity to save as prefab
- name string (required)
- Name for the prefab
- category string (optional)
- Category (e.g. Characters, Props, Effects)
- description string (optional)
- Optional description