Render a map to PNG
render_mapRender an RPG Maker MZ map into a PNG preview that composites autotiles, shadows and tile z-order like the engine, so you can verify layout visually or overlay passability, region and terrain data.
Instructions
Composite a map exactly the way the engine does (autotiles, shadow bits, higher-tile z-order) and return it as an image, so layout can be verified visually. Overlays can show passability, region ids or terrain tags.
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": "render_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapId | Yes | ||
| scale | No | Pixels per tile / 48. Defaults to fitting a 2048px side | |
| saveTo | No | Also write the PNG to this absolute path | |
| overlay | No | Default none | |
| showGrid | No | ||
| onlyLayers | No | Restrict to these tile layers | |
| showEvents | No | Draw event markers and event graphics (default true) | |
| animationFrame | No | A1 water/waterfall animation frame to freeze |