batch_scene_operations
Perform multiple scene mutations (add node, load sprite, save) in a single Godot process run, sharing cache and saving once to avoid repeated startup overhead.
Instructions
Use this instead of chaining add_node / load_sprite / save_scene calls when you have multiple mutations on the same or related scenes — runs in one Godot process (~3s startup avoided per call) and shares an in-memory scene cache, saving once at the end. Each item picks its sub-operation (add_node, load_sprite, save) and supplies its own params; abortOnError stops on first failure (default false continues). Returns { results: [{ operation, scenePath, success?, error? }] }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the Godot project directory | |
| operations | Yes | Ordered list of scene operations. Each item has its own operation and scenePath. | |
| abortOnError | No | Stop processing on first error (default: false) |