tilemap_get_used_cells
List used cells from a TileMapLayer or legacy TileMap, returning grid coordinates and source IDs, capped at a specified maximum count to keep results manageable.
Instructions
List the used cells of a TileMapLayer or legacy TileMap layer as grid x,y with source_id, capped at max_count
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": {
"node_path": "<node_path>"
},
"name": "tilemap_get_used_cells"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | ||
| max_count | No | ||
| node_path | Yes |