set_layer_opacity
Set a layer's opacity percentage from 0 to 100 in Adobe After Effects, using a layer name or index and optional composition ID.
Instructions
Sets the opacity percentage (0-100) of a layer.
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": {
"opacity": "<opacity>"
},
"name": "set_layer_opacity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| opacity | Yes | Opacity from 0 to 100. | |
| layer_name | No | Name of the layer. | |
| layer_index | No | 1-based index of the layer. | |
| composition_id | No | Optional composition item ID. |