get_file_context
Retrieves imports, callers, related files, and type definitions for any source file to clarify its role in the codebase.
Instructions
Get rich context for a source file: imports, callers (who uses this file), related files, and type definitions used. Helps understand a file's role in the codebase.
Requires: index_repository must be called first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | Path to the indexed repository | |
| file_path | Yes | File path relative to repo root (e.g., 'src/local_deepwiki/server.py') | |
| detail_level | No | Output detail: standard (default) or full (adds entities, related tests, recent commits) |