Batch operations
batchExecute multiple Godot editor operations in one transaction, rolling back all changes if any step fails, to build levels or UI in one go.
Instructions
Run many editor operations in one round trip as a single transaction. With atomic=true (default) the batch stops at the first error and undoes everything it did. Use it to build a whole level or UI in one go.
Actions:
run: {operations: [{method: 'node.add', params: {...}}, ...], atomic?=true} method = '.' for editor-side tools (project, files, scene, node, signal, script, resource, animation, tiles, ui, physics, ...).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | What to do. See the tool description for each action's parameters. | |
| atomic | No | Roll back everything on the first failure (default true). | |
| operations | No | Operations in order. |