explain_code
Explain a specific code concept or section by searching with a focused query and optional file filter, returning tight context.
Instructions
Use when the user asks you to explain a specific concept or section of code and wants tight, focused context (e.g. 'explain how X works' rather than 'find everything about X'). Same as search_code but with top_k=5 and an optional file_path filter applied server-side — useful for narrowing to a single file you already know is relevant.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| language | No | ||
| use_hyde | No | ||
| file_path | No | ||
| source_id | No | ||
| cross_repo | No | ||
| use_hybrid | No | ||
| path_prefix | No | ||
| rerank_pool | No | ||
| use_graph_scoring | No | ||
| use_summary_vector | No |