search_npm
Search the npm registry for packages by keyword, with options to control result size and prioritize by quality, popularity, or maintenance.
Instructions
Search the npm registry for packages.
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": {
"query": "<query>"
},
"name": "search_npm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | ||
| size | No | ||
| query | Yes | Search text, e.g. 'react debounce hook' | |
| weights | No |