Purge caches
purge_cachesFrees memory by purging After Effects image, snapshot, undo, or all caches; choose undo/all only when you accept permanent loss of undo history.
Instructions
Free memory with app.purge (Edit > Purge). target: 'image' (RAM preview/image cache, default, safe), 'snapshot' (comp snapshots), 'undo' (DESTRUCTIVE: erases the undo history, nothing can be undone afterwards), 'all' (all caches INCLUDING undo history).
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": "purge_caches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Which cache to purge (default 'image'). |