delete_state_tree
Deletes a UStateTree asset from an Unreal Engine 5 project. Idempotent and requires confirmation, so re-runs are safe and accidental deletion is prevented.
Instructions
Delete a UStateTree asset from the project. Idempotent — deleting a non-existent asset is a no-op (returns deleted:false, already_existed:false) so re-runs don't fail.
Returns: { tree_path, deleted, already_existed, note }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to actually delete. Honest-headless safety against accidental wipe. | |
| tree_path | Yes | Asset path to the UStateTree. |