create_tileset
Generates a .tres TileSet file for Godot, using provided textures as atlas sources and optional tile size/custom data layers.
Instructions
Create a TileSet resource with atlas sources from texture files
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": {
"projectPath": "<projectPath>",
"resourcePath": "<resourcePath>",
"atlasSources": "<atlasSources>"
},
"name": "create_tileset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tileSize | No | Tile size in pixels (default: 16x16) | |
| projectPath | Yes | Path to the Godot project directory | |
| atlasSources | Yes | Array of atlas sources to add to the TileSet | |
| resourcePath | Yes | Path where the .tres file will be saved (relative to project) | |
| customDataLayers | No | Optional custom data layers to add to the TileSet |