typeHierarchy
Retrieves immediate supertypes and subtypes for a symbol in a repository. Returns an explicit error when the index lacks relationship data, preventing false conclusions about absent types.
Instructions
Single-level super/subtypes for symbol within repo.
Returns an explicit error when the index carries no relationship data —
`scip expt-convert` does not populate `global_symbols.relationships`, so
an empty result would wrongly imply the symbol has no supertypes.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| symbol | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||