gorebox_generate_discovery_mod
Generate a Lua mod that discovers and dumps all available API functions, globals, tables, and callbacks in GoreBox, revealing the game's Lua scripting API.
Instructions
Generate a GoreBox Lua mod that discovers all available API functions, globals, tables, and callbacks. Writes results to a dump file in the mod folder. Use this when you need to learn what Lua API is available in a game that uses Lua scripting.
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>"
},
"name": "gorebox_generate_discovery_mod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mod_name | No | Name for the discovery mod (default: APIDisco) | |
| mods_dir | Yes | Path to the game Mods directory (e.g. C:/Users/.../GoreBox/Mods) |