import.extract
Extract a function or module from any GitHub repository with license checks, dependency resolution, and style adaptation; get ready-to-paste code with attribution.
Instructions
Extract a function/module from a GitHub repo with provenance. License-checked, dependency-resolved, style-adapted. Returns ready-to-paste code with attribution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Branch/tag/commit | |
| path | Yes | File path in the repo | |
| repo | Yes | owner/repo | |
| symbol | No | Specific function/class to extract | |
| adaptStyle | No | Adapt to your project's style |