layer_setOpacity
Adjust a layer's opacity at a chosen frame using layer ID, frame number, and opacity value (0.0 to 1.0).
Instructions
Set the opacity/transparency of a layer at a specific frame (0.0 = fully transparent, 1.0 = fully opaque)
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": {
"layerId": "<layerId>",
"frame": "<frame>",
"opacity": "<opacity>"
},
"name": "layer_setOpacity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | Yes | The frame number to set the keyframe at | |
| layerId | Yes | The numeric ID of the layer | |
| opacity | Yes | Opacity value from 0.0 (transparent) to 1.0 (opaque) |