set_texture_import_flags
Configure texture import settings like compression and mipmaps by changing flags in the .import config, controlling how images are processed.
Instructions
Set import flags (compress, mipmaps, etc.) in a .import config.
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": {
"path": "<path>",
"flags": "<flags>"
},
"name": "set_texture_import_flags"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Image asset path (e.g. "sprites/hero.png"); modifies its .import config | |
| flags | Yes | Import params to set, e.g. {"compress/mode": "2", "process/size_limit": "512"} |