preview_package_risk
FREE ($0.00, no wallet): Quickcheck an npm or PyPI package spec for direct URLs and typosquats. Returns verdict, riskScore, top_finding, and upgrade_hint to screen_package_risk ($0.005 Base USDC).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "preview_package_risk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pkg | No | Package name to check for typosquats. | |
| spec | No | Optional version or URL specifier. | |
| ecosystem | No | Package ecosystem: npm or pypi. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | Whether the screening check completed. |