gorebox_generate_mod
Create a GoreBox-compatible Lua mod by generating info.json and main.lua files, placing a ready-to-use mod folder in the game's Mods directory.
Instructions
Generate a GoreBox-compatible Lua mod with proper info.json and main.lua. Creates a ready-to-use mod in the Mods directory.
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": {
"mods_dir": "<mods_dir>",
"mod_name": "<mod_name>",
"lua_code": "<lua_code>"
},
"name": "gorebox_generate_mod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | Version string (default 1.0.0) | |
| lua_code | Yes | The Lua script code for main.lua | |
| mod_name | Yes | Name for the mod folder | |
| mods_dir | Yes | Path to the game Mods directory | |
| is_plugin | No | Whether this is a plugin mod (default true) | |
| safe_mode | No | Whether to run in safe mode (default false) | |
| description | No | Mod description | |
| display_name | No | Display name in the mod browser |