Reimport Asset
unity_import_assetReimport a project-relative Unity asset by path to pick up external file changes; repeated imports are safe and harmless.
Instructions
Force Unity to reimport an asset (picks up external file changes).
Args: path ('Assets/Textures/logo.png'). Idempotent — reimporting twice is harmless.
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>"
},
"name": "unity_import_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Project-relative asset path, e.g. 'Assets/Prefabs/Enemy.prefab' |