set_cel_opacity
Set the opacity of a specific cel (layer frame) in an Aseprite file to adjust transparency. Provide the filename, layer name, frame index, and opacity value from 0 to 255.
Instructions
Set one cel opacity from 0 to 255.
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>",
"layer_name": "<layer_name>",
"frame_index": "<frame_index>",
"opacity": "<opacity>"
},
"name": "set_cel_opacity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| opacity | Yes | ||
| filename | Yes | ||
| layer_name | Yes | ||
| frame_index | Yes |