get_tilemap_info
Read a tilemap layer to retrieve tile size, tileset length, cel grid dimensions, pixel position, and tile-index grid for inspection or validation; supports headless files.
Instructions
Read a tilemap layer: tile size, tileset length, and the cel's grid size,
pixel position, and tile-index grid (tiles as rows of columns, flip flags
stripped; capped at 64x64 with truncated set). Read-only. Headless: pass
file.
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": {
"layer": "<layer>"
},
"name": "get_tilemap_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| frame | No | ||
| layer | Yes |