import_texture
Imports an image file from disk into Unreal Engine as a UTexture2D asset using the canonical import pipeline. Supports PNG, JPG, EXR, TGA, BMP, and HDR formats.
Instructions
Import an image file (PNG/JPG/EXR/TGA/BMP/HDR) from disk into the project as a UTexture2D asset, using the canonical UE asset import pipeline.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source_path": "<source_path>",
"dest_path": "<dest_path>"
},
"name": "import_texture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_path | Yes | Absolute filesystem path to the source image file. | |
| dest_path | Yes | UE package path; must start with /Game/ (e.g. /Game/Textures/Environment). | |
| dest_name | No | Optional asset-name override; defaults to filename stem. | |
| replace_existing | No | Overwrite existing asset at dest_path/dest_name (default false). | |
| automated | No | Suppress modal dialogs (default true). | |
| save | No | Save the .uasset to disk after import (default true). |