fgui_remove_object
Delete a non-root object from a FairyGUI document, with optional save and verification that the node is absent on disk or after reload. Use it to remove UI elements when rollback is not required.
Instructions
删除非根对象;需要可靠回退时使用 fgui_discard_document。
删除按「缺失性验证」处理:save=True 保存后确认磁盘 XML 不再包含该节点;external_reload=True 关闭重开后确认目标仍不存在,需要 save=True。响应中的 strength 字段标明验证强度:reload / disk / none。
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_remove_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| verify | No | ||
| object_id | No | ||
| object_name | No | ||
| object_path | No | ||
| external_reload | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||