view
Retrieve npm package information from the registry. Specify a package name and optionally a field like versions or dist-tags to get specific details.
Instructions
View package information from the registry
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": {
"package": "<package>"
},
"name": "view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | No | Specific field to view (e.g. versions, dist-tags) | |
| package | Yes | Package name (e.g. react, @scope/pkg) |