get_context
Retrieve a ready-to-cite context bundle with file:line citations to answer coding questions, using reranking and call-graph expansion for grounded answers.
Instructions
Retrieve a ready-to-cite context bundle for answering a question.
Returns the source of the top matches (reranked by a cross-encoder when rerank=True, plus one-hop call-graph neighbors when expand_graph=True) with file:line citations, so the client model can answer grounded and cite spans.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| query | Yes | ||
| rerank | No | ||
| expand_graph | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |