Batch
batchRun up to 50 tool calls in order in one call (prefer it for multi-step builds). "$N.path" in args is that value from step N's result (from 1), e.g. "$1.id", "$2.layers.0.id"; name a step (as: "title") to use "$title.id" instead.
Instructions
Run up to 50 tool calls in order in one call (prefer it for multi-step builds). "$N.path" in args is that value from step N's result (from 1), e.g. "$1.id", "$2.layers.0.id"; name a step (as: "title") to use "$title.id" instead. "$$" is a literal $ ("$$99"). defaults: {tool: args} merged under every step of that tool (shared style, comp_id). All steps are checked before any runs; a step that fails in After Effects stops the batch with the results so far and a batch_id for resume. Each step is its own undo step. Not preview_frame, run_jsx or open_project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | ||
| resume | No | After a failure: the same steps, fixed, run from step `from` with the earlier results | |
| results | No | auto (default): each result whole up to 600 characters, larger ones cut to ids and names; all: everything; none: only the step count | auto |
| defaults | No | Per tool: args every step of that tool starts from (its own args win; nested objects merge) |