Skip to content

list_types

Decompilation

Lists classes, interfaces, structs, delegates, and enums defined in a .NET assembly. Results are grouped by namespace with each type’s name, fully qualified name, and kind. This is typically the first tool to reach for when analyzing an unfamiliar assembly.

ParameterTypeRequiredDefaultDescription
assembly_pathstringYesPath to the .dll or .exe file
entity_typesstring[]No["class"]Types to include. Accepts full names or single-letter shortcuts

Entity type values: class / c, interface / i, struct / s, delegate / d, enum / e

{
"tool": "list_types",
"arguments": {
"assembly_path": "/path/to/MyApp.dll",
"entity_types": ["class", "interface"]
}
}

Returns types organized by namespace. Each entry includes the type’s short name, fully qualified name (e.g., MyApp.Services.AuthService), and kind (class, interface, struct, etc.). Results support pagination with max_results and offset parameters.