Skip to content

generate_diagrammer

Decompilation

Creates an interactive HTML visualization of type relationships within a .NET assembly. The diagram shows inheritance hierarchies, interface implementations, and namespace organization. Open the generated file in any browser to explore the type graph.

ParameterTypeRequiredDefaultDescription
assembly_pathstringYesPath to the .dll or .exe file
output_dirstring|nullNonullWhere to save the HTML file (defaults to a diagrammer folder next to the assembly)
include_patternstring|nullNonullRegex to include only matching types (e.g., "MyApp\\.Services\\..+")
exclude_patternstring|nullNonullRegex to exclude matching types (e.g., ".*Generated.*")
{
"tool": "generate_diagrammer",
"arguments": {
"assembly_path": "/path/to/MyApp.dll",
"include_pattern": "MyApp\\.Core\\..+",
"exclude_pattern": ".*Tests.*"
}
}

Returns the path to the generated HTML file along with the output directory. Open the HTML file in a web browser to interactively explore type inheritance, interface implementation, and namespace structure.