license_check
Verifies a single npm package's license against corporate policy before you add it as a dependency. Returns the license, category, and an allowed, warning, or blocked verdict.
Instructions
[INSTRUCTIONS] Call this to quickly verify if a specific package is compliant with the corporate license policy. Provide the package name and optionally the version. Returns the license, category, and verdict (allowed/warning/blocked). Use this proactively before running npm install on a new package.
Check a single npm package license against corporate policy — use BEFORE adding a new dependency [READ-ONLY]
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": {
"name": "<name>"
},
"name": "license_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | npm package name (e.g., "lodash", "@types/node", "express") | |
| version | No | Specific version to check (e.g., "4.17.21"). Defaults to latest. |