read_chapter
Read a specific chapter from a story folder by index. Optionally return only the final N characters to maintain narrative continuity and reduce token usage.
Instructions
读取指定故事的章节内容(支持按章节索引按需加载)。tailLength 可只返回章节末尾 N 字符用于续写衔接,节省 Token
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | Yes | 故事文件夹名(如 01-故事A) | |
| tailLength | No | 只返回章节末尾 N 字符(可选;与 chapterIndex 配合使用,节省 Token) | |
| chapterIndex | No | 章节序号(0-based,可选;不提供则返回全部章节标题列表) |