extract_symbol
Extract the exact implementation of a specified function, class, method, or interface with its top-level imports from a source file, omitting unrelated code to save tokens.
Instructions
Surgically extracts only the exact implementation of a named function, class, method, or interface along with top-level imports, omitting the rest of the file to save tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to target source file | |
| symbol | Yes | Name of the function, class, or interface to extract |