pypi_metadata
Retrieve Python package metadata from PyPI including version numbers, documentation URLs, and project links for accurate code generation.
Instructions
Get Python package metadata from PyPI (name, version, URLs, summary).
USE THIS WHEN: You need basic package info, version numbers, or links to external documentation.
RETURNS: Package metadata ONLY - does NOT include actual documentation content.
For full documentation, use fetch_pypi_docs instead.
The response includes:
- Package name, version, summary
- Documentation URL (docs_url) - can be passed to WebFetch for external docs
- Project URLs (homepage, repository, etc.)
Args:
package: PyPI package name (e.g., "requests", "flask", "django")
ignore_verification: Skip PyPI verification check if VERIFIED_BY_PYPI is enabled
Example: pypi_metadata("requests") → Returns metadata with docs_url pointing to readthedocs
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | ||
| ignore_verification | No |