getDependencyTree
Automatically detect package manager and retrieve dependency tree with names and versions for npm, pip, cargo, or go projects.
Instructions
Dependency tree (npm/cargo/go/pip). Auto-detects package manager. Returns names and versions.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "getDependencyTree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Max dependency depth (npm only). Default: 2 | |
| packageManager | No | Package manager to use. Default: auto-detect from manifest files |