batch_import_folder
Scans a local folder and batch-imports all recognized assets into Unreal Engine 5, with per-file success results and optional dry run.
Instructions
Batch-import all recognised assets from a local folder into UE5.
Scans the folder locally (no UE5 connection needed for the scan), then sends a single exec_python call to UE5 with an AssetImportTask per file. Results are reported per-file.
Args: folder_path: Absolute path on the MCP server machine to scan ue5_base_path: Root Content Browser path for imported assets (default "/Game/Imported/") recursive: Scan subdirectories (default True) import_textures: Import texture files (default True) import_meshes: Import FBX/OBJ/glTF mesh files (default True) import_audio: Import WAV/OGG/MP3 audio files (default True) preserve_folder_structure: Mirror the local subfolder structure in the Content Browser (default True) dry_run: If True, return the manifest without importing (default False)
Returns: JSON string: { "success": true, "dry_run": false, "total": 10, "imported": 9, "failed": 1, "results": [ {"file": "T_Bastila_n.png", "success": true, "asset_path": "/Game/..."}, {"file": "SM_Table.fbx", "success": false, "error": "..."}, ... ] }
KB: see knowledge_base/31_GENERATIVE_CONTENT_PIPELINE.md#overview Example: batch_import_folder(folder_path="/Game/MCP_Test/Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| recursive | No | ||
| folder_path | Yes | ||
| import_audio | No | ||
| import_meshes | No | ||
| ue5_base_path | No | /Game/Imported/ | |
| import_textures | No | ||
| preserve_folder_structure | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |