explain_entity
Get a thorough explanation of any function, class, or method in your codebase. Combines call graphs, inheritance trees, test examples, and API docs into one unified response.
Instructions
Get a comprehensive explanation of a function, class, or method by combining glossary info, call graph, inheritance tree, test examples, and API docs into a single response.
Requires: index_repository must be called first.
Example: {"repo_path": "/path/to/repo", "entity_name": "MyClass"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | Path to the indexed repository | |
| entity_name | Yes | Name of function, class, or method to explain | |
| include_call_graph | No | Include call graph info - callers and callees (default: true) | |
| include_inheritance | No | Include inheritance tree for classes (default: true) | |
| include_test_examples | No | Include usage examples from tests (default: true) | |
| include_api_docs | No | Include API signature details (default: true) | |
| max_test_examples | No | Max test examples to include (default: 3, range: 1-10) |