Read referenced tileset details
tiled_get_tilesetRetrieve a semantic summary of a tileset from a map, including tile properties, animations, collision geometry, and Wang sets.
Instructions
Returns a bounded semantic summary of one tileset referenced by a map — an external TSJ selected by tilesetAssetId, or an embedded (inline) atlas tileset selected by its original tilesets[] index via embeddedIndex (exactly one selector is required; embedded content is pinned by the map revision itself). Includes sparse tile metadata with per-tile custom-property values (scalars, enums, object references, and bounded raw nested class/list values; only oversized entries carry an explicit valueOmitted marker), animation, exact collision shape geometry (gid/template objects and oversized paths carry omission markers), and expanded Wang sets (full color projections plus a bounded wangtile sample; wangid slots run clockwise from the top edge). Image-collection tilesets project a collection block instead of atlas geometry, with each returned page tile's image verified and revision-pinned; collection Wang sets, per-tile sub-rectangles, and embedded image-collection tilesets fail closed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| mapPath | Yes | Canonical project-relative POSIX path; absolute paths and .. are forbidden | |
| startTileId | No | ||
| embeddedIndex | No | ||
| tilesetAssetId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |