get_assembly_types
Enumerate every type in a Unity IL2CPP assembly by specifying the image name, returning full type definitions including fields, methods, and properties.
Instructions
Enumerate every type in one IL2CPP assembly.
Unlike :func:list_classes (which scans the string table and
misses root-namespace types), this walks the typeDef range owned
by a specific image — use it to enumerate the publisher's actual
game code (Assembly-CSharp.dll) or a specific engine module
(UnityEngine.CoreModule.dll).
Each record: {fqn, namespace, name, type_index, method_count, field_count, property_count, event_count, nested_type_count, parent_index, token, flags} — same shape as
:func:get_type_definitions.
Args:
metadata_path: path to global-metadata.dat
image_name: assembly file name (e.g. "Assembly-CSharp.dll")
limit: maximum results
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": {
"metadata_path": "<metadata_path>",
"image_name": "<image_name>"
},
"name": "get_assembly_types"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metadata_path | Yes | ||
| image_name | Yes | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |