analyze_dependencies
Identifies unused and misclassified dependencies in Node.js projects by analyzing package.json and lockfile, improving dependency hygiene and reducing bloat.
Instructions
Analyze package.json and lockfile for dependency hygiene issues including unused and misclassified packages.
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": {
"projectPath": "<projectPath>"
},
"name": "analyze_dependencies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Absolute or relative path to the Node.js project to analyze |