Batch edits
ae_batchRuns up to 200 After Effects tool steps in one call as one atomic undo and change report; repetitive or multi-part edits complete together, with rollback if a step fails.
Instructions
Run many steps in ONE call: each step is a tool with its arguments (any project/comp/layer/property/keyframe/effect/text/footage tool) or {tool: "ae_run_script", args: {code}}. All steps form a single undo step and return one change report. Atomic by default: if any step fails, everything is undone and you get the error of the failing step. Use it for repetitive or multi-part edits (e.g. style 30 layers, build a scene) to save round trips; for a single edit call the tool directly. Not usable as steps: tools that can't be part of an undo step (open/save project, undo/redo), renders and ae_checkpoint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Undo step name shown in After Effects (default "Surehand MCP Batch"). | |
| steps | Yes | 1-200 steps run in order, each {tool, args} with the same args as calling that tool. | |
| atomic | No | Undo everything if a step fails (default true). false = keep successful steps and continue. | |
| verbose | No | Return each step's full result (default: short summaries). | |
| checkpoint | No | Save a project checkpoint before running (see ae_checkpoint). |