find_definition
Locate the exact file, line, and scope where a symbol is defined in code files using AST-level metadata from local RAG indexing.
Instructions
Find where a symbol (function, class, variable, etc.) is defined in code files. Searches AST-level entity metadata extracted during code chunking. Returns { totalMatches, matches: [{ filePath, chunkIndex, entityName, entityType, lineRange?, scope? }] }. Only works for code files that were ingested with AST-level chunking (CodeChunker).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbolName | Yes | Exact symbol name to locate the definition of. Case-sensitive. Example: "handleFindReferences". |