class_hierarchy
View a class's inheritance chain to find its base classes or derived subclasses layer by layer, with adjustable depth and assembly disambiguation for same-named types.
Instructions
查看类的继承体系(向上找基类、向下找派生类)。direction="down" 是逐层的:depth 是所在层、parent 是真实直接父类;单层超 500 条时 down_has_more=true。
同类名跨程序集时会拒绝并给出候选(与 class_detail 同一规则)。
(早期版本把传递式后代当成直接子类,depth/parent 是错的 —— 现在两者用途已分开,
想一次捞全所有脚本请用 find_derived_classes。)
Args: full_name: 类完整名。 direction: up / down / both。 depth: 向下递归深度。 assembly: 同名类消歧用(子串匹配,如 "TeamTapas")。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| assembly | No | ||
| direction | No | both | |
| full_name | Yes |