apply_convolution
Apply native convolution filters such as blur, sharpen, edge detection, or emboss to a specified layer or region of an Aseprite file.
Instructions
Native convolution filter (blur / sharpen / edge / emboss …).
Args: filename: Aseprite file to modify matrix: a built-in matrix name (see list_convolution_matrices), e.g. "blur-3x3", "sharpen-3x3", "edges-find", "misc-emboss" layer_name: layer to filter (empty = active layer) frame_index: 1-based frame x, y, width, height: optional region (width>0 & height>0 to scope)
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>",
"matrix": "<matrix>"
},
"name": "apply_convolution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| matrix | Yes | ||
| layer_name | No | ||
| frame_index | No | ||
| x | No | ||
| y | No | ||
| width | No | ||
| height | No |