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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dll": "<dll>"
},
"name": "list_namespaces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dll | Yes | ||
| asm_paths | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespaces | Yes | ||
| total_types | Yes |