get_database
Read any RPG Maker MZ database table (actors, items, skills, etc.) in full or fetch a specific record by ID. Provides raw data for all fields.
Instructions
Read a database table in full: actors, classes, items, weapons, armors, skills, enemies, troops, states, or common_events. Returns the raw 1-indexed array (slot 0 is null), or — with id — that single record, or null if no such record exists. These are full records: prefer list_names for an id→name index, or search_actors/search_items/search_skills to find records by name, and reach for this only when you need every field. Maps and tilesets are not here: use get_map_infos/get_map and get_tilesets/get_tile_flags. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Return just this record (null if missing); omitted = the whole table | |
| type | Yes | Which table to read: actors, classes, items, weapons, armors, skills, enemies, troops, states, or common_events. |