新增小说章节
add_chapter_tomatoUpload a chapter to a specified Fanqie Novel book by providing chapter number, title, and content; confirm=false fills the form only, while scheduled_time enables timed release.
Instructions
向指定书籍上传一个章节:填序号+标题+正文 →(confirm=true 时)下一步 → 选择内容检测方式 → 发布设置(是否使用AI) → 确认提交 → 错别字二次确认 → 接口复核。正文可用 content、file_path 或 article_id(本地文稿库)。支持 scheduled_time 定时发布。默认 confirm=false 只填表不提交。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | 章节标题(可含「第X章」,会自动剥离序号前缀) | |
| use_ai | No | 发布设置的「是否使用AI」,默认 false | |
| book_id | Yes | 番茄书 ID(book_id) | |
| confirm | No | 是否真正发布,默认 false | |
| content | No | 章节正文(与 file_path/article_id 三选一) | |
| headless | No | 是否无头运行,默认 false(便于人工核对) | |
| detection | No | 内容检测方式:basic=仅基础检测,full=全面检测(默认 basic) | |
| file_path | No | 章节正文所在文件路径(UTF-8 文本) | |
| article_id | No | 本地文稿库 article_id(优先于 file_path/content) | |
| chapter_number | No | 章节序号(阿拉伯数字) | |
| scheduled_time | No | 定时发布时间(ISO 字符串);仅小说章节支持 |