get_symbol
Retrieve source code for specific functions, classes, or methods by symbol ID or fully qualified name, returning only the targeted symbol instead of entire files.
Instructions
Look up a symbol by symbol_id or FQN and return its source code. Use instead of Read when you need one specific function/class/method — returns only the symbol, not the whole file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol_id | No | The symbol_id to look up | |
| fqn | No | The fully qualified name to look up | |
| max_lines | No | Truncate source to this many lines (omit for full source) |