lookup_package_docs
Retrieve official package documentation, homepage, and source URLs by querying PyPI metadata. Get reliable project links directly from the Python Package Index.
Instructions
Look up package-declared docs/homepage/source URLs via official PyPI metadata.
This is not generic web search: it only queries PyPI's JSON API and returns official PyPI metadata plus package-declared project URLs.
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": "lookup_package_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | PyPI package/project name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Controlled-scope note, for example skipped labels or not-found details | |
| package | Yes | Canonical package name returned by PyPI when available | |
| sources | No | Package-declared PyPI, documentation, homepage, and source URLs | |
| summary | No | Package summary from PyPI metadata | |
| version | Yes | Latest version reported by PyPI metadata | |
| trust_boundary | No | Indicates results are limited to PyPI/project-declared metadata | pypi-declared-metadata |
| metadata_source | Yes | Official PyPI JSON API URL used for lookup |