Skip to main content

CityBuilderAi

6 tools in this family (folder Editor/Tools/CityBuilderAi/ 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
citybuilder_apply_default_templatewritesMaterialise a starter CityBuilderSpec from one of three presets: 'simcity' (square grid, 8
citybuilder_export_balance_csvwritesRender the per-tick resource + population curves as a CSV file. Default output path:
citybuilder_generate_codewritesEmit GridController.cs (placement + collision + adjacency lookup), BuildingController.cs
citybuilder_propose_from_promptread-onlyFree-text intent → JSON CityBuilderSpec via the configured LLM. Buril prompts the active
citybuilder_simulate_economyread-onlyMonte Carlo simulate <ticks> of city growth — default 100, clamped to [10, 1000]. Headlessly
citybuilder_validate_specread-onlyValidate a CityBuilderSpec. Returns { ok, errors[] }. Always run this before