get_related_symbols
Finds symbols related to a given symbol by co-location, shared importers, or name similarity. Use to discover sibling code in the same project.
Instructions
Find symbols related via co-location (same file), shared importers, and name similarity. Use when exploring a symbol to discover sibling code. For call-graph relationships use get_call_graph instead; for all usages use find_usages. Read-only. Returns JSON: { related: [{ symbol_id, name, kind, file, relation_type, score }] }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol_id | Yes | Symbol ID to find related symbols for | |
| max_results | No | Max results (default 20) |