assets-get-tilemap-data
Retrieves Tiled tilemap data including layers, tilesets, and objects for use in the Phaser scene editor.
Instructions
Get the data of a Tiled tilemap file. It returns the data of the tilemap, including the layers, tilesets, and objects. The data is used by the scene editor to create the Tilemap and TilemapLayer objects.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"key": "<key>"
},
"name": "assets-get-tilemap-data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The key of the file in the asset pack. The key is used by the scene editor to create Tilemap objects. |