create_sprite
Create a new sprite or import an image into Aseprite, with auto-downscaling and pixelation to native size for pixel art. Edit the imported copy, not the original.
Instructions
New sprite file. Or import an image with from (png/gif/...): upscaled pixel art is auto-downscaled to native size; width/height with from pixelates to that size (majority color per block). Edit the import, not the original image.
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>"
},
"name": "create_sprite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | ||
| path | Yes | ||
| width | No | ||
| height | No | ||
| palette | No | hex list or preset (pico8|db16|sweetie16|gameboy) | |
| colorMode | No | ||
| downscale | No | import scale factor, default auto | |
| overwrite | No | ||
| background | No | adds a filled background layer |