update_map_tree
Reparent, reorder, rename, or expand/collapse maps in the project's map tree without altering map data. Validate batch updates and preview changes with a dry run.
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 |