add_mod_jar
Decompile and index a local mod jar to enable search and analysis of its decompiled source code.
Instructions
Decompile and index a local mod jar. This tool does not download mod jars.
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": {
"jarPath": "<jarPath>"
},
"name": "add_mod_jar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modId | No | Optional mod id for the index label. | |
| indexAs | No | Optional full index label. Defaults to mod:<jar-name> or mod:<modId>:<version>. | |
| jarPath | Yes | Local path to a mod jar. | |
| version | No | Optional mod version for the index label. |