read_chapter
Read a specific story chapter by index, optionally returning only the tail characters to save tokens when continuing a story.
Instructions
读取指定故事的章节内容(支持按章节索引按需加载)。tailLength 可只返回章节末尾 N 字符用于续写衔接,节省 Token
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"folder": "<folder>"
},
"name": "read_chapter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | Yes | 故事文件夹名(如 01-故事A) | |
| tailLength | No | 只返回章节末尾 N 字符(可选;与 chapterIndex 配合使用,节省 Token) | |
| chapterIndex | No | 章节序号(0-based,可选;不提供则返回全部章节标题列表) |