ae_library
Store, search, and apply reusable After Effects Expression or ES3 ExtendScript snippets with {{param}} substitution, and promote successful ae_eval_jsx runs into templates.
Instructions
Personal reusable Expression & ES3 ExtendScript snippet library (bundled MIT starters + user snippets). Supports parameter substitution ({{param}}) and promoting recent successful ae_eval_jsx executions into reusable templates. Actions: list, search, get, save, promote_recent, apply, remove.
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": {
"action": "<action>"
},
"name": "ae_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Snippet ID (kebab-case). | |
| tag | No | ||
| code | No | Expression or ES3 ExtendScript snippet code (supports {{param}} placeholders). | |
| comp | No | ||
| kind | No | ||
| name | No | ||
| tags | No | ||
| layer | No | Target layer (required when applying an 'expression' snippet). | |
| query | No | ||
| action | Yes | ||
| params | No | Parameter schema on save OR runtime parameter values on apply. | |
| source | No | ||
| listOnly | No | Return recent ae_eval_jsx history without saving (for promote_recent). | |
| property | No | Target property (required when applying an 'expression' snippet). | |
| description | No | ||
| recentIndex | No | 0 = most recent ae_eval_jsx call (for promote_recent). |