publish_chapter
Publish a chapter to a novel immediately or schedule it for later. Accept direct title and content, or extract from a Markdown file using chapter number.
Instructions
发布或定时发布一章到当前(或指定)小说。内容二选一:① 直接传 title + content;② 传 file(Markdown 稿件路径)+ chapter_no 自动提取(标题取章节行)。publish_time 传 ISO 时间则定时/预约发布,省略则立即发布。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Markdown 稿件路径(与 chapter_no 搭配使用) | |
| title | No | 章节标题(用 file+chapter_no 时可省略,自动取) | |
| book_id | No | 可选,目标小说;默认当前选中 | |
| content | No | 正文,纯文本/Markdown(按行分段)或已是 <p> HTML | |
| chapter_no | No | 要从 file 中提取的章节号 | |
| publish_time | No | ISO 时间则定时发布(如 2026-06-20T15:00:00+08:00);省略则立即发布 |