fgui_remove_object
Remove a non-root object from the current FairyGUI document without saving, enabling reversible UI edits. Specify the target by ID, name, or path for flexible selection.
Instructions
删除非根对象但不保存;需要可靠回退时使用 fgui_discard_document。
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 |
|---|---|---|---|
| object_id | No | ||
| object_name | No | ||
| object_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||