render_map
Screenshot an RPG Maker MZ map as the game draws it to catch wrong tiles, void areas, odd sprites, or missing images. Returns PNG path plus console and missing-asset errors.
Instructions
Screenshot a map as the game actually draws it: boots the project headless, starts a new game on the map, and saves a PNG. Validators prove structure, not looks — use this to catch wrong wall/autotile kinds, void (unbased transparent tiles), odd sprites or missing images. Default renders the WHOLE map (canvas resized to width×height×48px, player hidden, autorun/parallel events frozen, map-name banner off); pass x+y for a normal 816×624 game-screen view centred on that tile. Returns the PNG path plus problems — console errors, page errors and HTTP 404s (missing assets — a missing image is drawn blank instead of stopping the engine on its load-error retry screen). Read-only. Needs the optional dependency playwright-core and a Chromium from the Playwright cache (npx playwright install chromium-headless-shell) or the RPGMAKER_MCP_CHROMIUM env var.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | With y: render a normal screen view centred on this tile instead of the whole map. | |
| y | No | ||
| out | No | Output .png path, or a directory. Default: <os tmpdir>/rpgmaker-mz-mcp/renders. | |
| mapId | Yes | Map to render. | |
| inline | No | Also return the PNG(s) as image content in the response (default false: paths only — read the file to view it). | |
| switches | No | Switch ids to turn ON first, to see event pages of a later story state. | |
| runEvents | No | Let autorun/parallel events run before the shot (default false: resting map). | |
| showEvents | No | Draw event sprites (default true). false = bare tiles only. | |
| showPlayer | No | Draw the player (default: hidden for a whole-map render, shown for a view). |