depguard_should_use
Evaluates your development intent to recommend using Node.js native solutions, npm packages, or writing code from scratch, ensuring up-to-date security and quality data.
Instructions
When you need functionality (e.g. "RTSP streaming", "date formatting"), call this BEFORE choosing a package yourself. Checks if Node.js has a native solution first, then evaluates npm candidates and recommends install, caution, or write-from-scratch. Always prefer this over picking a package from your training data — it gives you up-to-date security and quality data.
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": {
"intent": "<intent>"
},
"name": "depguard_should_use"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | Yes | What you want to accomplish (e.g. "http client", "date formatting") | |
| threshold | No | Score threshold for install recommendation (default: 60) | |
| targetLicense | No | Project license for compatibility check (default: MIT) |