l2_import_texture
Replace a texture in a .utx file by importing a PNG image. Generates a new package file with the modified texture.
Instructions
Replace a texture in a .utx file with a PNG image. Generates a new package file.
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": {
"filepath": "<filepath>",
"image_path": "<image_path>"
},
"name": "l2_import_texture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of the texture to replace. Mutually exclusive with index. | |
| index | No | Index of the texture to replace. Mutually exclusive with name. | |
| output | No | Output .utx file path. Auto-generated if empty. | |
| filepath | Yes | Absolute path to the source .utx file. | |
| image_path | Yes | Absolute path to the PNG image to import. |