get_tilemap_info
Retrieve tilemap details including tile dimensions, tile count, and map grid size from a specified layer in an Aseprite file.
Instructions
Get tilemap layer info: tile size, tile count, and map dimensions.
Args: filename: Aseprite file to read layer_name: Tilemap layer to inspect
Returns: JSON with tile_width, tile_height, tile_count (real tiles, excluding the empty tile 0), map_cols, map_rows.
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": {
"filename": "<filename>",
"layer_name": "<layer_name>"
},
"name": "get_tilemap_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| layer_name | Yes |