get_dependency_graph
Resolves relative imports to build a dependency graph, returning internal file edges and external package names for a given repository.
Instructions
Builds a dependency graph of the repository by resolving relative imports between files. Returns edges (from -> to) for internal files and a separate list of external package names.
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": {
"repoPath": "<repoPath>"
},
"name": "get_dependency_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoPath | Yes | Absolute or relative path to the repository root |