get_type_hierarchy
[hierarchy]
Returns class, interface, and type-alias relationship context for a symbol.
Try it locally in the TGlider playground
Parameters
| 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. Default: 0 |
| take | number | No | Maximum number of matching results to return. |
Examples
Replace sample paths and symbol keys with values from your workspace.
Inspect a class hierarchy
Arguments
{
"symbolKey": "role=canonical|..."
}Full MCP request
Full MCP request
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_type_hierarchy",
"arguments": {
"symbolKey": "role=canonical|..."
}
}
}Response Notes
Returns base types, implemented interfaces, derived types, aliases, and related notes.