package_info
Retrieve detailed information about software packages from PyPI, npm, crates.io, or Terraform by specifying the package name and optional version.
Instructions
Get detailed information about a specific package
Input Schema
Name | Required | Description | Default |
---|---|---|---|
index | Yes | Package index to query (pypi, npm, crates, terraform) | |
name | Yes | Package name | |
version | No | Specific version to get info for (default: latest) |
Input Schema (JSON Schema)
{
"description": "Parameters for getting package information.",
"properties": {
"index": {
"description": "Package index to query (pypi, npm, crates, terraform)",
"enum": [
"pypi",
"npm",
"crates",
"terraform"
],
"title": "Index",
"type": "string"
},
"name": {
"description": "Package name",
"title": "Name",
"type": "string"
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Specific version to get info for (default: latest)",
"title": "Version"
}
},
"required": [
"index",
"name"
],
"title": "PackageInfo",
"type": "object"
}