project_dependencies
Analyze a source file's imports and the files that import it to map project dependencies across Python, JavaScript/TypeScript, Java, Go, Rust, and C/C++.
Instructions
Imports of one file (local, standard-library, external, unresolved) and the files that import it.
Supports Python, JavaScript/TypeScript, Java, Go, Rust and C/C++.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>"
},
"name": "project_dependencies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Local project directory. Defaults to the server's working directory. | |
| format | No | Output format: 'markdown' (default) or 'json' (structured envelope). | markdown |
| file_path | Yes | Source file to analyze, relative to the root. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |