create_map
Creates a new blank map in an RPG Maker MZ project, registers it in the map tree, and returns the new map ID for subsequent tile painting and event placement.
Instructions
Create a new blank map: writes a new data/MapNNN.json (all tiles unpainted) and registers it in the map tree (MapInfos.json). Allocates the next unused map id and returns it. Paint tiles afterward with paint_tiles/fill_area (autotile-aware) and add events with create_map_event/create_npc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Map name shown in the editor map tree | |
| width | No | Width in tiles (default 17) | |
| dryRun | No | Preview only: return a diff of what would change without writing to disk. | |
| height | No | Height in tiles (default 13) | |
| parentId | No | Parent map id in the tree; 0 (default) = top level | |
| tilesetId | No | Tileset id (default 1) |