batch_create
Create many RPG Maker MZ database records in one call and file write. Use in place of sequential create_* calls for casts, loot tables, or skill lists; sequential IDs allow sibling references.
Instructions
Create many database records of one type in a single call and a single file write — the batch sibling of create_actor/create_item/create_weapon/create_armor/create_skill/create_enemy/create_state/create_class. Each entry in records takes the same fields its single create_* tool accepts (only name is required for most; omitted fields use the editor's defaults). Ids are allocated sequentially from the current max, so a record can reference a sibling created earlier in the same batch. Use this instead of N sequential create_* calls when authoring a cast, a loot table, or a skill list. Returns { type, count, created, warnings? } (classes are summarized like create_class; enemy battlerName misses are warnings, never blocked). Throws — writing nothing at all — if any record references a database id that does not exist, naming the offending records[i].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Which database the records are appended to | |
| dryRun | No | Preview only: return a diff of what would change without writing to disk. | |
| records | Yes | The records to create, each shaped like the matching create_* tool's arguments (e.g. for type "actor": { name, classId?, ... }) |