get_type_definitions
Read binary type definitions from global-metadata.dat to retrieve parent, type index, method count, field count for each class, with optional namespace filter.
Instructions
Walk the binary typeDefinitions table; return structured records.
Unlike list_classes (which harvests the string table for FQNs), this reads the actual record array and returns parent, type_index, method_count, field_count, etc. for each class.
Args:
metadata_path: path to global-metadata.dat
namespace: if set, only return typeDefs whose FQN starts with
namespace + "."
limit: maximum results (default 500)
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>"
},
"name": "get_type_definitions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metadata_path | Yes | ||
| namespace | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |