verify_dependency_addition
Validates whether an npm package is allowed before installation by checking blocked lists, existing dependencies, and review policies to prevent disallowed additions.
Instructions
Validates whether a new npm package is allowed before adding it. Call this BEFORE running 'npm install '. Checks the package against blocked lists, existing dependencies, and review policies.
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": {
"packageName": "<packageName>",
"reason": "<reason>"
},
"name": "verify_dependency_addition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why this package is needed — what problem does it solve? | |
| packageName | Yes | The npm package name to validate (e.g. 'lodash') |