get_map
Retrieve RPG Maker MZ/MV map data by specifying a map ID to access game level information for development or analysis.
Instructions
Get map data by ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapId | Yes | The ID of the map to retrieve |
Implementation Reference
- src/tools/mapTools.ts:119-122 (handler)The implementation of the get_map tool which reads map data from a JSON file.
export async function getMap(projectPath: string, mapId: number): Promise<MapData> { const mapPath = getMapPath(projectPath, mapId); return await readJsonFile<MapData>(mapPath); }