script-delete
Remove script files from Unity projects, automatically refreshing assets and waiting for compilation to complete before confirming deletion.
Instructions
Delete the script file(s). Does AssetDatabase.Refresh() and waits for Unity compilation to complete before reporting results. Use 'script-read' tool to read existing script files first.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Array of file paths to delete. Example: ["Assets/Scripts/Old.cs"] | |
| requestId | No |