Read a database table
read_databaseRead RPG Maker MZ database tables from JSON files, returning compact entry lists or one full entry by ID. Use it to inspect actors, items, skills, enemies, and other project data.
Instructions
Read data/.json. Returns entries compactly, or one entry in full. Covers Actors, Classes, Skills, Items, Weapons, Armors, Enemies, Troops, States, Animations, Tilesets, CommonEvents, System, MapInfos. Every table answers count and entries, so a caller can read one shape; System is a single object rather than a row table, so it answers value as well and entries holds that object as its one row.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Return one entry instead of the whole table | |
| table | Yes | ||
| fields | No | Restrict the summary to these fields |