get_dependencies
Trace static imports for a file: list its dependencies by path, line, and type, or find files that import it in reverse. Set depth to follow imports N levels.
Instructions
The imports of a file: path, line, internal/external/stdlib. reverse:true lists the files that import it instead; depth:N follows imports N levels (a list of {path, depth}). Static imports only; path may be a fragment or file name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path, fragment or name | |
| depth | No | Follow imports this many levels | |
| reverse | No | Files that import this file |