dedupe
Remove duplicate dependencies from an npm package's dependency tree at a given path, with an optional dry-run to preview changes without applying them.
Instructions
Reduce duplication in the dependency tree
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": {
"path": "<path>"
},
"name": "dedupe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the package directory | |
| dryRun | No | Preview changes without making them |