add_outline
Adds a crisp 1px pixel-art outline around non-transparent pixels, letting you choose outside or inside placement plus 4-way or 8-way diagonal corners to make sprites stand out.
Instructions
Add a crisp 1px pixel-art outline (outside or inside, 4-way or 8-way diagonal) around non-transparent pixels.
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": {
"file": "<file>"
},
"name": "add_outline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| mode | No | Default 'outside'. | |
| color | No | Outline color (default '#000000'). | |
| frame | No | ||
| layer | No | ||
| preview | No | Return an inline PNG preview in the same Aseprite call (true or options object). | |
| diagonal | No | Include diagonal corners (8-way, default false). |