Get project docs
get_docsRead project documentation to return a specific file or heading-matched section, or fetch ranked sections by topic keywords; with no inputs, show README intro and docs list.
Instructions
Read project documentation (README*, CONTRIBUTING*, root .md, docs/**/.md). With "path": return that file, or just the section whose heading matches "topic". With only "topic": return the 3 best-matching sections ranked by keyword hits. With neither: return the README intro and the list of docs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | A specific doc file relative to the workspace root, e.g. "docs/setup.md". | |
| repo | No | Remote mode only: which allowlisted repo ("owner/repo") to operate on. Optional when only one repo is allowlisted; ignored in local mode. | |
| topic | No | Keywords to look for, e.g. "discount rounding" or "configuration". | |
| max_chars | No | Total character budget for returned section content. Default 8000. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sections | Yes | ||
| workspace | Yes | ||
| available_docs | Yes |