[hierarchy]
Returns class, interface, and type-alias relationship context for a symbol.
Type behavior often follows class inheritance, interface implementation, and aliases across files.
The model can inspect hierarchy context before changing contracts or following polymorphic behavior.
Try it locally in the TGlider playground
| Name | Type | Required | Description |
|---|---|---|---|
| symbolKey | string | Yes | Stable symbol key returned by a prior symbol discovery tool. |
| skip | number | No | Number of matching results to skip. |
| take | number | No | Maximum number of matching results to return. |
Inspect a class hierarchy
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_type_hierarchy",
"arguments": {
"symbolKey": "role=canonical|..."
}
}
}Returns base types, implemented interfaces, derived types, aliases, and related notes.