Skip to main content

ModdingApi

6 tools in this family (folder Editor/Tools/ModdingApi/ 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
modding_create_sample_modwritesGenerate a sample mod folder under <persistentDataPath>/Mods/sample-mod/
modding_export_modder_docs_mdwritesEmit a Markdown SDK reference for end-user modders — summarises the manifest schema, the
modding_generate_codewritesLower a ModdingApiSpec to four runtime .cs files in Assets/_Game/Modding/
modding_propose_from_promptread-onlyFree-text intent (e.g. 'modding API for our roguelike — JSON only, item / map / recipe packs') →
modding_validate_mod_folderread-onlyValidate an existing mod folder against the ModdingApiSpec — checks mod.json exists, parses,
modding_validate_specread-onlyRun validation rules on a ModdingApiSpec JObject — checks namespace is a valid C# namespace,