Create a finite orthogonal TMJ map
tiled_create_mapCreates a new empty Tiled map file (.tmj) with specified dimensions and tile size. Requires a canonical path without overwriting existing files.
Instructions
Directly creates a new empty TMJ as the sole additive no-preview mutation exception. The caller must confirm the target path; parent directories must exist, and any existing destination—including identical bytes—is never overwritten or treated as success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | ||
| height | Yes | ||
| mapPath | Yes | Canonical project-relative POSIX path; absolute paths and .. are forbidden | |
| tileWidth | Yes | ||
| tileHeight | Yes | ||
| backgroundColor | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |