get_symbol_source
Retrieve the exact source code of a symbol by its ID or name, optionally filtered by file, returning only the precise byte range from disk to minimize data transfer.
Instructions
Fetch a symbol's exact source by id, or by name (+optional file).
Returns the precise byte range from disk (no whole-file read), so an agent gets only the function/class body it needs. Provide symbol_id OR name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| name | No | ||
| symbol_id | No |