Outline
aseprite_outlineAdd a 1px outline around or inside opaque pixels on a layer, choosing selective selout or solid color, with adjustable strength and area.
Instructions
Adds a 1px outline around (outside) or on the edge of (inside) everything opaque on a layer, in one undo step. style 'selout' (default) derives each outline pixel from the colour it borders: darker and cooler on the shadow side, lighter on the side facing the top-left light – the classic selective outline. style 'solid' uses one colour. Works on sprites up to 128x128 (or pass rect). Semi-transparent pixels (alpha < 128) count as empty.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "aseprite_outline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rect | No | Only outline inside [x, y, width, height] or "selection" | |
| color | No | solid only (default #1b1b2a) | |
| frame | No | Frame number, 1-based (default: active frame) | |
| layer | No | Layer name (default: active layer) | |
| style | No | selout | |
| position | No | outside | |
| strength | No | selout: how much darker than the fill |