search_context
Retrieve code context by combining semantic search with graph expansion, returning similar chunks and related symbols.
Instructions
Two-stage retrieval in one call: semantic search + graph expansion.
Runs vector search for query (top-k), takes the symbol names from those
hits, expands the graph one hop from them, and returns a combined result:
similar_chunks (the vector hits) plus related_symbols (graph neighbors).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hops | No | ||
| query | Yes | ||
| top_k | No |