update_map_tree
Update map tree in RPG Maker MZ projects: reparent, reorder, rename, or expand/collapse maps in MapInfos.json without modifying tiles or events.
Instructions
Edit the map tree (MapInfos.json) only — reparent, reorder, rename, or expand/collapse maps without touching their tiles or events. Takes a batch of per-map updates; every referenced map (and any non-zero parentId) must exist, and the resulting tree must stay acyclic.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Preview only: return a diff of what would change without writing to disk. | |
| updates | Yes | One or more per-map tree edits to apply together |