set_cel_opacity
Set the opacity of a specific cel in an Aseprite sprite, adjusting transparency for a given layer and frame.
Instructions
Set the opacity of a cel
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": {
"filePath": "<filePath>",
"layerName": "<layerName>",
"opacity": "<opacity>"
},
"name": "set_cel_opacity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Sprite file | |
| layerName | Yes | Layer name | |
| frameNumber | No | Frame number (1-indexed, default: 1) | |
| opacity | Yes | Opacity (0-255) | |
| savePath | No | Path to save |