kage_docs_search
Search repository documentation using BM25 indexing over heading-anchored chunks. Returns ranked results with path, heading, line, and snippet.
Instructions
Search this repo's OWN committed documentation (README, docs/**, *.md, common doc dirs — including any framework/API docs checked into the repo). BM25 over heading-anchored chunks from .agent_memory/indexes/docs-index.json. Returns ranked doc hits with doc_path, heading, line, and snippet. This indexes only files on disk in the project, never the internet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search terms to match against the repo's documentation. | |
| project_dir | Yes | Absolute path to the repository root. | |
| limit | No | Max ranked doc hits to return (default 5). |