Audit a project's npm dependencies
audit_dependenciesAudit npm dependencies from a package.json against the live registry to report outdated versions, deprecation, and licenses.
Instructions
Given the contents of a package.json, report every dependency's freshness against the npm registry: how far behind latest it is (patch/minor/major), how many versions behind, whether it's DEPRECATED, and its license. Reach for this when asked to 'update dependencies', 'check what's outdated', 'is anything deprecated', or before a dependency bump — it gives the agent real registry facts instead of guessing from stale training data. Read the repo's package.json and pass its full text as packageJson.
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": {
"packageJson": "<packageJson>"
},
"name": "audit_dependencies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| includeDev | No | Include devDependencies (default true). | |
| includePeer | No | Include peerDependencies (default false). | |
| packageJson | Yes | The FULL text of the package.json file to audit (JSON). The tool parses dependencies from it. |