read_symbol
Retrieve the full source code of one function, class, or method by name without opening the entire file, reducing token usage.
Instructions
Full source of ONE symbol (function/class/method) without reading the whole file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Repo-relative file path to disambiguate | |
| name | No | Symbol name (exact, case-insensitive) | |
| index | No | 1-based pick when several matches exist |