set_layer_opacity
Adjust a layer's opacity in an Aseprite file by specifying the file, layer name, and opacity value (0-255).
Instructions
Set layer opacity by name (0-255).
Args: filename: Name of the Aseprite file to modify layer_name: Layer name to target opacity: Opacity value 0-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 |
|---|---|---|---|
| filename | Yes | ||
| layer_name | Yes | ||
| opacity | Yes |