npmSearch
Search NPM packages by query, set result limit, and bypass cache for fresh results.
Instructions
Search for NPM packages with optional limit
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": "npmSearch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (default: 10) | |
| query | Yes | Search query for packages | |
| ignoreCache | No | Force a fresh lookup, ignoring the cache |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| message | No | ||
| results | No | ||
| limitUsed | No | ||
| resultsCount | No | ||
| totalResults | No |