get_map_events
Retrieve all event data from a specific RPG Maker MZ/MV map by providing the map ID, enabling game asset management and integration.
Instructions
Get all events from a specific map
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapId | Yes |
Implementation Reference
- src/tools/mapTools.ts:152-155 (handler)The implementation of getMapEvents which retrieves the events array from a given map file.
export async function getMapEvents(projectPath: string, mapId: number): Promise<(MapEvent | null)[]> { const map = await getMap(projectPath, mapId); return map.events; }