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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mapId": "<mapId>"
},
"name": "get_map"
}
}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); }