Cyberlibrary Get Chapter
cyberlibrary_get_chapterClean Markdown of a single chapter - the recommended way to put Cyber Library text into an agent context. Chapter 0/1 are both accepted for the opening chapter. When to use: after cyberlibrary_get_toc, to read the specific chapter you care about without pulling the whole book. Do not use: to read an entire book in one shot (use cyberlibrary_get_markdown, but mind the size). Returns: {chapter, title, chars_total, chars_returned, truncated, markdown, markdown_url}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | Yes | ||
| slug | Yes | ||
| chapter | Yes | Chapter number from cyberlibrary_get_toc. | |
| max_chars | No | Truncate Markdown to this many characters (1000-100000). Default 20000. |