set_layer_opacity
Set a named layer's opacity from 0 to 255 in an Aseprite file. Provide the filename, layer name, and opacity value to update the layer's transparency.
Instructions
Set a named layer 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>",
"opacity": "<opacity>"
},
"name": "set_layer_opacity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| opacity | Yes | ||
| filename | Yes | ||
| layer_name | Yes |