export_layers
Exports each Aseprite layer as an individual PNG named .png, creating the output directory if needed and optionally including hidden layers.
Instructions
Export each layer as its own PNG file named .png.
Args: filename: Aseprite file to export output_directory: Directory for the per-layer PNGs (created if missing) include_hidden: Also export hidden layers (default False)
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": {
"filename": "<filename>",
"output_directory": "<output_directory>"
},
"name": "export_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| include_hidden | No | ||
| output_directory | Yes |