search_docs
Semantic search across a project's version-pinned documentation — the fastest way to pull just the passage you need for an exact version instead of reading the whole llms.txt. Returns chunks ranked by relevance, capped by token_budget. Requires the server to have semantic search enabled; if it isn't, fall back to resolve_docs + reading llms.txt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural-language search query | |
| top_k | No | Max results (1-50, default 10) | |
| project | Yes | Project slug (e.g. "nextjs", "react") | |
| version | Yes | Version string or "latest" | |
| snapshot | No | Immutable revision_id returned by resolve_docs; omit to use the current capture. | |
| token_budget | No | Max tokens to budget for results (default 4096) |