omni_mod_scaffold
Write a Forge 1.20.1 mod folder to disk from a JSON spec, generating the exact mod files and assets needed for OmniMod to read and use.
Instructions
Write a Forge 1.20.1-shaped mod folder to disk. Output is a folder (not a ZIP) — zip it yourself before omni_mod_add, or stage it via the folder mod path on the engine side. Every JSON key written is one the engine actually reads (see scaffold.ts comments).
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": {
"outDir": "<outDir>",
"spec": "<spec>"
},
"name": "omni_mod_scaffold"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| outDir | Yes | Absolute path of an empty directory to create the mod in. |