get_project_class_hierarchy
Show the inheritance tree for any class in the project, with options to view ancestors, descendants, or both up to a specified depth.
Instructions
Show the inheritance tree for a class in the project.
direction: 'ancestors' (parents), 'descendants' (children), 'both'
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": {
"class_name": "<class_name>"
},
"name": "get_project_class_hierarchy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| class_name | Yes | ||
| direction | No | both | |
| depth | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |