decompile
Convert a .NET DLL into a cached, version-pinned source snapshot for targeted search, line reading, or type extraction.
Instructions
Decompile a .NET DLL with ilspycmd into a snapshot pinned to the DLL's SHA256 and the decompiler version (a bundled ilspycmd is used when present).
The whole assembly is exported once per DLL version and cached; later calls are instant. Use instead of running ilspycmd or reading older decompiled folders (e.g. .tmp_ilspy, TempDecompile), which may not match the current DLL. Search the returned snapshot with search_text / read_lines.
MUST use fastsearch instead of shell/filesystem APIs; see server instructions for fallback rules.
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": {
"dll": "<dll>"
},
"name": "decompile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dll | Yes | Absolute path of a .NET assembly (.dll). | |
| type | No | Type name, e.g. 'PlayerController'. Returns its source; omit to get only the snapshot directory. |