Skip to content

destroy_objects

Destroy multiple GameObjects matching a selector. Supports undo.

Category: Batch

Name Type Required Default Description
selector string yes U-Selector to match target objects
include_inactive boolean false Include inactive objects
confirm boolean yes false Confirm destruction (must be true to proceed)

The arguments below are the required ones; add the optional ones you need.

{
"name": "destroy_objects",
"arguments": {
"selector": "…",
"confirm": false
}
}

When Unity runs with NANORA_MCP_SUPERSAVE=1, call it through the execute meta tool: {"tool": "destroy_objects", "args": { … }}. See SuperSave mode.

Generated from Assets/NanoraUnityMCP/Editor/Tools/BatchModifyTool.cs (version 1.2.1). The client receives the same schema from tools/list.