Skip to main content

TilemapAi

6 tools in this family (folder Editor/Tools/TilemapAi/ in the bridge package). Effect: writes changes the project or the scene, read-only does not, destructive deletes or overwrites and the client asks before running it.

ToolEffectDescription
tilemapai_build_from_specwritesBuild a Tilemap from a fully-formed TilemapSpec JSON object — no LLM call.
tilemapai_extract_layout_from_existingread-onlyRead an existing Grid + Tilemap hierarchy in the active scene and return an ASCII layout + inferred …
tilemapai_generate_from_promptwritesGenerate a 2D Tilemap from a natural-language prompt. Sends the prompt + palette description
tilemapai_iteratewritesIterate on an existing Tilemap. Reads the current Tilemap into ASCII, sends it + an edit prompt to
tilemapai_paint_layout_stringwritesPaint a literal multiline ASCII layout with a provided palette. width/height are inferred from the
tilemapai_validate_specread-onlyValidate a TilemapSpec JSON object. Returns {valid, errors[], warnings[], symbols_seen[], palette_sy…