fgui_delete_package_item
Deletes package resources—components, images, fonts, sounds, MovieClips, and directories—with explicit force=True. It checks references by default and can optionally allow dangling references.
Instructions
删除包资源(组件/图片/字体/声音/MovieClip/目录);不可逆操作,必须显式 force=True。
编辑器原生 DeleteItem 不会拦引用:被引用的资源照样删,引用方会留下悬空 src。 默认检测到引用就拒绝并列出引用位置;确认要删就传 allow_dangling_references=True,响应会回报哪些引用会变悬空。 目标组件的文档正开着时默认拒绝;传 close_open_documents=True 让本工具关闭它(未保存改动一律拒绝)。 删除会连带删掉磁盘文件,不进 Agent 撤销栈。
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_delete_package_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| save | No | ||
| force | No | ||
| verify | No | ||
| item_name | No | ||
| item_path | No | ||
| package_name | No | ||
| close_open_documents | No | ||
| allow_dangling_references | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||