resize_map
Resize a map to new dimensions, preserving existing tiles in the overlapping area and blanking new cells; shrinking crops the tile data.
Instructions
Resize a map to new width/height, safely repadding every z-layer of its tile data (existing tiles kept where the old and new grids overlap; new cells blank; shrinking crops). This is the ONLY safe way to change a map's dimensions — update_map refuses a width/height change because it would not resize the tile array. Warns about any event left outside the new bounds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapId | Yes | The ID of the map to resize | |
| width | Yes | New width in tiles | |
| dryRun | No | Preview only: return a diff of what would change without writing to disk. | |
| height | Yes | New height in tiles |