get_semantic_context
Retrieves file content and its local dependency tree to provide rich code context for analysis. Optionally outlines function signatures to reduce token usage.
Instructions
Returns the content of a file along with its local dependency tree, providing rich context for understanding the code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the file to analyze (relative to project root). | |
| depth | No | How many import hops to follow. Default: config value. | |
| outline_only | No | Return function/class/interface signatures without implementation bodies. Reduces tokens by 70–90%. Default: false. |