dump_package
Decompilation
Extracts all .dll and .exe files from a NuGet package folder structure into a single flat directory. This simplifies bulk analysis by collecting assemblies scattered across framework-specific subdirectories into one location where other mcilspy tools can operate on them directly.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
assembly_path | string | Yes | — | Path to the assembly or NuGet package folder to extract from |
output_dir | string | Yes | — | Directory to dump extracted assemblies into (created if needed) |
Example
Section titled “Example”{ "tool": "dump_package", "arguments": { "assembly_path": "/path/to/packages/Newtonsoft.Json/13.0.3", "output_dir": "/tmp/newtonsoft-dump" }}result = await client.call_tool("dump_package", { "assembly_path": "/path/to/packages/Newtonsoft.Json/13.0.3", "output_dir": "/tmp/newtonsoft-dump",})Response
Section titled “Response”Returns a summary with the output directory path and a list of all extracted assembly filenames. If no assemblies are found in the package structure, the response indicates that.
Related tools
Section titled “Related tools”- list_types — explore the types in extracted assemblies
- decompile_assembly — decompile extracted assemblies
- get_assembly_info — check metadata of extracted assemblies