playcal_assets
Check texture import settings against a folder policy in Unity or Godot projects, covering type, mipmaps, Read/Write, compression, and max size to catch misconfigurations.
Instructions
check texture import settings (.meta / .import) against a folder policy: type, mipmaps, Read/Write, compression, max size, offline
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": {
"action": "<action>"
},
"name": "playcal_assets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | images to check (default: every image in the project) | |
| action | Yes | check: texture import settings against the policy | |
| policy | No | JSON {"rules": [{"match": "*/UI/*", "texture_type": ["Sprite"], "mipmaps": false, "readable": false, "compressed": true, "max_size": 2048}]}; default: UI as sprites without mipmaps, everything compressed, not readable, at most 4096 | |
| project_path | No | Unity or Godot project folder (default .) | . |