Get AdonisJS doc page
get_docFetch a documentation page by its ID and return it as markdown/asciidoc, or filter to a heading section matching a keyword for smaller responses.
Instructions
Fetches a documentation page by id (from search_docs) as plain markdown/asciidoc. Use 'section' to return only the heading section matching a keyword — cheaper than the full page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Doc id from search_docs (URL path for v7, repo path otherwise). | |
| library | No | Docs to search: 'core' framework docs (default, version-aware), 'lucid' ORM, 'edge' templates, 'vine' validation, or 'japa' testing. | |
| section | No | Keyword — return only the heading section containing it. | |
| version | No | AdonisJS version. Omit to auto-detect from projectPath (defaults to v7 when neither is given). | |
| maxLength | No | Max characters returned (default 8000). | |
| projectPath | No | Path to an AdonisJS project root (or its package.json) used to auto-detect the version. |