delete_directory
Recursively remove a content-browser folder and all assets inside it in Unreal Engine, with no dry-run or referencer check. Use when you need a headless, permanent folder deletion.
Instructions
DESTRUCTIVE: removes a content-browser folder AND every asset inside it, recursively, with no dry-run and no referencer check (unlike bulk_delete_assets, which defaults to dry_run and refuses vendored roots). Driven through UEditorAssetSubsystem, which is the pair that works headless. Idempotent: an already-absent folder answers already_absent:true. Verify afterwards with git status on the corresponding Content/ path -- never with the deleted flag alone.
Returns: { path: string, already_absent: bool, deleted: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | UE long path of the folder to delete, e.g. /Game/Scratch. Must start with '/'. Everything under it goes. | |
| asset_path | No | Alias of `path` (same value, same meaning). Accepted because sibling tools spell this parameter differently; prefer `path`. |