package_info
Look up package information from npm, PyPI, crates.io, or Go modules to evaluate libraries before adding them to your project. Returns version, downloads, license, dependencies, security status, and repository links.
Instructions
Look up package information from npm, PyPI, crates.io, or Go modules.
Returns version, downloads, license, dependencies, security status, and repository links.
Use this to quickly evaluate libraries before adding them to your project.
Examples:
- package_info("express", reasoning="Need web framework", registry="npm")
- package_info("requests", reasoning="HTTP client for API", registry="pypi")
- package_info("serde", reasoning="JSON serialization", registry="crates")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| reasoning | Yes | ||
| registry | No | npm |
Input Schema (JSON Schema)
{
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"reasoning": {
"title": "Reasoning",
"type": "string"
},
"registry": {
"default": "npm",
"enum": [
"npm",
"pypi",
"crates",
"go"
],
"title": "Registry",
"type": "string"
}
},
"required": [
"name",
"reasoning"
],
"type": "object"
}