Skip to content

batch_modify

Batch modify multiple GameObjects matching a selector. Supports modifying transform, components, and properties. All changes are undoable.

Category: Batch

Name Type Required Default Description
selector string yes U-Selector to match target objects (e.g., ‘.Enemy’, ‘#Player’, ‘[tag=Pickup]’)
modifications array yes List of modifications to apply
include_inactive boolean false Include inactive GameObjects
dry_run boolean false Preview changes without applying

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

{
"name": "batch_modify",
"arguments": {
"selector": "…",
"modifications": []
}
}

When Unity runs with NANORA_MCP_SUPERSAVE=1, call it through the execute meta tool: {"tool": "batch_modify", "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.