fgui_find_unused
Find resources that have no references in a FairyGUI project, returning package, path, URL, size, and image dimensions so you can identify unused assets before cleanup.
Instructions
找出工程内没有任何引用位置的资源(只读,0.8.19+)。
返回每个未引用资源的包、路径、URL、文件大小,图片还附带尺寸。判断口径是 「当前工程内零引用」:导出资源可能被运行时按 URL 使用,默认仍会列出并标记 exported,删改前请确认;skip_exported=True 可排除它们。
packages 传包名或包 ID,省略时扫描全工程;types 可按 image / font / sound / movieclip / component 过滤;max_items 限制返回明细条数,unusedCount 仍是真实总数。
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": "fgui_find_unused"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| types | No | ||
| packages | No | ||
| max_items | No | ||
| skip_exported | No | ||
| include_branches | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||