PyPI Package Versions
pypi.packages.releasesList all published versions of a Python package including upload dates, yanked status, and distribution file types. Get the 50 most recent releases for dependency auditing and version planning.
Instructions
List all published versions of a Python package with upload dates, yanked status, and distribution file types (sdist/wheel). Returns the 50 most recent versions. Useful for dependency auditing, version pinning, and upgrade planning.
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": "pypi.packages.releases"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | Python package name to list all versions (e.g. django, pandas, scipy) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |