ae_build_live
Build After Effects compositions one step at a time, revealing and selecting each change so viewers or screen recordings can follow the work as it happens.
Instructions
Build in After Effects ONE STEP AT A TIME so the work can be watched (or screen-recorded) as it happens: each step is a short script that runs as its own job; after it, the comp is shown in the viewer, the layers it added are selected in the timeline, and the tool waits pace_ms before the next step. Use it whenever someone is watching or recording, and for any build of more than a few layers: give ONE layer (or one visible change: an effect, a set of keyframes) per step with a short plain-language label, which becomes that step's line in the bridge panel's Activity feed and its Undo name. Step code is a function body with comp (the target comp, null until a step creates it) and S (an object that survives between steps; local variables do not, so re-find layers by name or keep values on S). All KAI.* and MK.* helpers are available. A failing step stops the run and reports which one.
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": {
"steps": "<steps>"
},
"name": "ae_build_live"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | comp name the steps build in (may be created by the first step); default: the active comp | |
| fresh | No | start with an empty S (default true); false when continuing an earlier run | |
| steps | Yes | ||
| title | No | one line shown in the Activity feed before the steps | |
| reveal | No | show the comp and select new layers after each step (default true) | |
| pace_ms | No | pause between steps, default 700; 0 = as fast as After Effects allows | |
| keyframes | No | open the keyframed properties of the new layers in the timeline, like pressing U (default true) | |
| timeout_sec | No | ||
| expected_project | No | Project guard: refuse to run unless the open project path contains this text. |