Batch commands
batchExecute multiple After Effects tool commands in one round trip and one undo step; stops at the first error unless stopOnError is false.
Instructions
Run many tool commands in ONE round trip and ONE undo step (much faster than separate calls). Each entry is {command: '', args: {...}} using the same argument names as the individual tools. Only tools that run inside AE can be batched (not bridge_status/launch_after_effects/install_bridge_panel/preview tools that return images). Stops at the first error unless stopOnError=false.
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": {
"commands": "<commands>"
},
"name": "batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commands | Yes | Commands to run in order. | |
| stopOnError | No | Stop at the first failing command (default true). |