search_package_docs
Search official documentation of any npm, PyPI, or crates.io package by query, discovering relevant pages from its docs, homepage, and linked sources.
Instructions
Search a package's documentation for a query. Discovers pages from the registry's docs/homepage, llms.txt / llms-full.txt, sitemap.xml, and same-host links. Returns the highest-scoring pages with source URLs. Bounded to a small set of pages and characters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Free-text query (matched case-insensitively) | |
| package | Yes | Package name | |
| ecosystem | No | Language/ecosystem (auto-detected if omitted) | |
| max_pages | No | Max pages to return (default 15) |