search_docs
Search local documentation sets using header-aware BM25 ranking. Auto-fetches missing docsets on demand, providing relevant results.
Instructions
Search local documentation sets using header-aware BM25 lexical ranking. Auto-fetches missing catalog docsets on demand in 1 second.
Args: query: Keywords, function signatures, or questions (e.g. '$state runes', 'HTTPException', 'glassmorphism') docset: Target docset name (e.g. 'svelte-5', 'fastapi', 'tailwind-v3') or 'all' to search all installed docs. top_k: Number of relevant sections to return (default 4).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| top_k | No | ||
| docset | No | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |