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.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
assembly_path | string | Yes | — | Path to the .dll or .exe file |
entity_types | string[] | 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
Example
Section titled “Example”{ "tool": "list_types", "arguments": { "assembly_path": "/path/to/MyApp.dll", "entity_types": ["class", "interface"] }}result = await client.call_tool("list_types", { "assembly_path": "/path/to/MyApp.dll", "entity_types": ["class", "interface"],})Response
Section titled “Response”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.
Related tools
Section titled “Related tools”- search_types — find types by name pattern instead of listing all
- decompile_assembly — decompile types discovered here
- get_assembly_info — quick metadata before listing types