statetree_create
Create a StateTree asset with an editor schema, choosing name, path, and schema class. Optionally overwrite and save, then get asset path and readiness info.
Instructions
Create a StateTree asset with an editor schema.
Args: name: Asset name to create. path: Content Browser folder under /Game. schema_class: StateTree schema class, short name or /Script path. overwrite: Delete an existing asset before creation. save: Save the asset package after creation.
Returns: Structured JSON with asset path, schema class, and readiness info.
KB: see knowledge_base/23_MASS_ENTITY_AND_STATETREE.md#mcp-mass-statetree-and-smartobject-tools Example: statetree_create(name="ST_CombatBrain", schema_class="StateTreeComponentSchema")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | No | /Game/AI/StateTrees | |
| save | No | ||
| overwrite | No | ||
| schema_class | No | /Script/GameplayStateTreeModule.StateTreeComponentSchema |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |