set_layer_opacity
Adjust a layer's transparency by setting its opacity from 0 to 255, so you can control how strongly that layer shows in your Aseprite artwork.
Instructions
Adjusts opacity for a layer (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": {
"name": "<name>",
"opacity": "<opacity>"
},
"name": "set_layer_opacity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Layer name | |
| opacity | Yes | Opacity value (0 = transparent, 255 = fully opaque) |