get_function_body
Extract the full body of any function or method from TypeScript or JavaScript files. Supports Class.method syntax for precise targeting.
Instructions
Extracts the full body of a specific function or method. Supports Class.method syntax.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Function name (e.g., 'setup' or 'MyClass.method') | |
| path | Yes | Absolute path to the TS/JS file |