check_dependency_compatibility
Checks npm dependencies for Node engine mismatches, peer dependency conflicts, and deprecation warnings using registry metadata before install or upgrade.
Instructions
Verifies engines.node, peerDependencies cross-compatibility, and deprecation notices deterministically using npm registry abbreviated metadata.
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": {
"dependencies": "<dependencies>"
},
"name": "check_dependency_compatibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dependencies | Yes | Map of production dependencies and their version or range (e.g. {"next": "15.0.3", "react": "18.2.0"}) | |
| devDependencies | No | Optional map of devDependencies and their version or range (e.g. {"eslint": "9.14.0", "typescript": "5.7.2"}) | |
| runtime_version | No | Target Node.js runtime version (e.g. "20.11.0"). If omitted, engines.node checks are reported as unverified. |