ast_deps
Extract import/dependency statements from source files in multiple languages. Use reverse=true to find which files import a given file.
Instructions
Extract import/dependency statements from source files. Supports Rust, Python, JS/TS, Go, Java, C/C++, Ruby, PHP. Use reverse=true to find what imports a file. Example: {"path": "src/main.rs"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language hint. | |
| path | Yes | File or directory to analyze (relative to working directory). | |
| reverse | No | Show reverse dependencies (what imports this file). |