dependency_tree
Retrieve the direct dependency tree for any npm package to analyze its required components and understand project structure.
Instructions
Get dependency tree for an npm package (direct deps only).
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": {
"name": "<name>"
},
"name": "dependency_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name |