set_layer_opacity
Adjust the opacity of a specific layer in an Aseprite file by providing its name and an opacity value from 0 to 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 |
|---|---|---|---|
| opacity | Yes | ||
| filename | Yes | ||
| layer_name | Yes |