symbol_slice
Extract the exact implementation of a class, method, or function by symbol name to avoid reading an entire source file.
Instructions
Extract the exact implementation of a single class or function by symbol name (e.g., 'PaymentGateway' or 'PaymentGateway.charge' or 'charge'), avoiding the need to read the entire file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the source file. | |
| symbol | Yes | Name of the class, method, or function to extract. |