deleteLayer
Remove a layer from an After Effects composition by specifying the composition and layer name or index. Use it to clean up or revise a composition before rendering or export.
Instructions
Delete a layer from the composition
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "deleteLayer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compName | No | Composition name | |
| layerName | No | Layer name | |
| layerIndex | No | Layer index |