Get code snippet
get_code_snippetGet source code for a function, class, or symbol using its qualified name. First, use search_graph to find the exact name, then retrieve the snippet.
Instructions
Read source code for a function/class/symbol. IMPORTANT: First call search_graph to find the exact qualified_name, then pass it here. This is a read tool, not a search tool. Accepts full qualified_name (exact match) or short function name (returns suggestions if ambiguous). If the response carries a 'coverage_note', the file was only partially indexed — constructs in the noted line ranges may be missing from the graph (best-effort signal); prefer grep there and treat the returned source as ground truth.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | ||
| qualified_name | Yes | Full qualified_name from search_graph, or short function name | |
| include_neighbors | No |