export_tileset
Export a tileset PNG with edge padding to prevent seams when tiles are scaled, optionally generating a matching Godot TileSet resource.
Instructions
Export a tileset PNG with extrude pixels of edge padding around each tile, which
prevents seams when tiles are scaled.
The source is a tilemap layer's tileset (pass layer), or the flattened frame
sliced into a tile_w x tile_h grid. When godot_project is given, out_png must be
inside it and a matching TileSet .tres is written next to the PNG.
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": {
"path": "<path>",
"out_png": "<out_png>"
},
"name": "export_tileset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| frame | No | ||
| layer | No | ||
| tile_h | No | ||
| tile_w | No | ||
| columns | No | ||
| extrude | No | ||
| out_png | Yes | ||
| godot_project | No |