get_function
Retrieve specific function implementations from code files to reduce token usage by extracting only needed function definitions instead of reading entire files.
Instructions
⭐ PREFERRED OVER Read: Get complete function code without reading the entire file. Saves 85% tokens compared to Read. Use when you need a specific function implementation instead of reading full files. Returns only the function definition with signature.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| functionName | Yes | The name of the function to retrieve | |
| filePath | No | Optional: specific file path if known |