Session context
ae_contextRetrieves After Effects project state, active composition, selected layers, item list, helper rules, and undo contract at session start. Later edit calls can rely on the returned context.
Instructions
Ambient context: project state, active comp, selected layers, item list, AE.* helpers, ES3 rules, and the undo contract (every call = one auto undo group). Call at session start; then rely on ae_do response context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No | After Effects instance to address for this call, when several are running (AfterFX.exe -m): an instance id (its AE_MCP_INSTANCE at launch, or the `name` given to instance.start) or the name of the project file it has open. Omit to use this server's default (AE_MCP_INSTANCE, else the single live instance). ae_context and ae_do instance.list show what is live. |