Delete items
delete_itemsRemove project items from After Effects and all compositions that use them, optionally including folder contents; deletion is undoable.
Instructions
Delete project items (removes them from every comp that uses them). Non-empty folders need allowNonEmptyFolders:true (their contents are deleted too). Undoable in AE. Returns what was removed.
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": {
"items": "<items>"
},
"name": "delete_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | One item ref, an array of refs (name, 'Folder/Name' path, or item id), or 'selected' (project panel selection). | |
| allowNonEmptyFolders | No | Allow deleting folders together with their contents. |