list_namespaces
Discover the namespaces and type counts in any .NET assembly, revealing its high-level structure at a glance.
Instructions
List distinct namespaces in an assembly with their type counts.
Use this as the first step when exploring an unknown game/mod DLL: it
shows you what high-level modules exist (e.g. GameData.Domains.Combat,
Game.Views.Building) and how many types each contains.
Example::
list_namespaces(dll="Backend/GameData.dll")
# Returns: [{"name": "GameData.Domains.Combat", "count": 177}, ...]Args:
dll (str): Absolute path to the assembly to inspect.
asm_paths (list[str] | None): Extra dependency dirs (almost never
needed — see decompile_type).
Returns: NamespaceListResult: Namespaces (sorted by name) and total type count.
Raises:
DllNotFoundError: dll does not exist or is not readable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dll | Yes | ||
| asm_paths | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespaces | Yes | ||
| total_types | Yes |