export_godot_tileset
Convert a tile sheet PNG into a Godot 4 TileSet .tres resource for use in TileMapLayer. Specify tile dimensions and output path.
Instructions
Generate a Godot 4 TileSet .tres resource from a tile sheet. For use with TileMapLayer.
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": {
"sprite_sheet_path": "<sprite_sheet_path>",
"output_path": "<output_path>"
},
"name": "export_godot_tileset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tile_width | No | Tile width in pixels (default: 32) | |
| output_path | Yes | Output .tres path | |
| tile_height | No | Tile height in pixels (default: 32) | |
| sprite_sheet_path | Yes | Path to the tile sheet PNG |