get_inheritance
Retrieve class inheritance hierarchy trees for an indexed repository, showing parent-child relationships, abstract classes, and generating a Mermaid diagram.
Instructions
Get class inheritance hierarchy trees for an indexed repository. Shows parent-child relationships, abstract classes, and generates a Mermaid inheritance diagram.
Requires: index_repository must be called first.
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": {
"repo_path": "<repo_path>"
},
"name": "get_inheritance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | Path to the indexed repository | |
| search | No | Filter classes by name (case-insensitive substring) | |
| limit | No | Maximum classes to return (default: 100, max: 5000) | |
| offset | No | Number of classes to skip for pagination (default: 0) |