Refresh AssetDatabase
unity_refresh_assetsTrigger asset reimport and script recompilation when files are written outside the Editor. Use to make a live Unity session detect external changes.
Instructions
Trigger Unity asset reimport + script recompilation on demand (AssetDatabase.Refresh).
Use when: files were written to the project from outside the Editor (scripts, models, textures) and Unity hasn't picked them up yet — e.g. background work while the Editor is unfocused. Idempotent.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "unity_refresh_assets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||