npm package facts in one call: latest version, description, license, dependency count, repository, weekly downloads (nam
npm_packagenpm package facts in one call: latest version, description, license, dependency count, repository, weekly downloads (name=express). For dependency and supply-chain agents. Pay per call $0.002 USDC on Base via x402.
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": "npm_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | package name, e.g. express or @scope/pkg | |
| x_payment | No | signed x402 payment (X-PAYMENT header value); omit on the first call to receive the price and payment requirements |