Search library and docs
library_searchSearch the library catalog and repository docs to find ranked entries, entry IDs for reading, or document and README titles. Use it for library lookups, not exact module or protocol metadata.
Instructions
Search the library catalog and repository docs for query, returning ranked catalog entries plus matching document titles. Use it to find an entry ID for library_read or to locate a doc or package README; do not use it for exact module or protocol metadata (registry_search / spec_list). Catalog matching is case-insensitive and relevance-ranked; document hits match the filename or H1 title as a case-sensitive substring.
The combined list is capped by limit (1–50, default 10), and there is no offset or next-page parameter. Catalog hits come first, so a full catalog page can hide document hits; an empty query returns the first page of document hits only, and no matches yields an empty list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum combined hits to return (default 10); catalog and document hits share the cap. | |
| query | Yes | Search text; catalog hits are relevance-ranked and document hits match filename or H1 title. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Ranked catalog entries followed by matching documents, truncated to limit. |