Refresh Unity
refresh_unityRefresh the Unity asset database, optionally triggering script compilation. Waits for editor readiness if required.
Instructions
Request a Unity asset database refresh and optionally a script compilation. Can optionally wait for readiness.
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": "refresh_unity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Refresh mode | if_dirty |
| scope | No | Refresh scope | all |
| compile | No | Whether to request compilation | none |
| wait_for_ready | No | If true, wait until editor_state.advice.ready_for_tools is true |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |