catalog_lookup
Search the documentation catalog by library name or description to find matching entries with relevance scores. Use this to identify the canonical ID before retrieving full docs.
Instructions
检索文档目录:按库/框架的名称或描述查找条目,返回带相关度评分与命中信号的候选列表。当不确定库的规范 id 时,先调用本工具;后续用返回的 id 调用 doc_extract。结果按评分降序,评分依据:名称精确/前缀/别名命中 > 摘要词元命中 > 流行度微调。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 最多返回几条,默认 8 | |
| query | Yes | 要查找的库名或描述,如 "express" 或 "js 日期处理"(必填) |