保存正文到本地文稿库
save_articleStore written content in a local manuscript library and return an ID, eliminating the need to resend long text. Works for novel chapters and short stories.
Instructions
把用户写好的正文入库(data/articles.json),返回 article_id,避免把长文本反复塞进工具参数。kind=chapter 可带 novel_id/chapter_number;kind=short 用于短故事。正文可用 content 或 file_path。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | chapter=小说章节,short=短故事正文 | |
| title | Yes | 标题 | |
| status | No | 初始状态,默认 draft | |
| content | No | 正文(与 file_path 二选一) | |
| novel_id | No | 归属的本地小说 id(kind=chapter) | |
| file_path | No | 正文文件路径(UTF-8 文本) | |
| chapter_number | No | 章节号(kind=chapter) | |
| tomato_book_id | No | 已绑定的番茄 book_id(可选) | |
| tomato_item_id | No | 已绑定的番茄短故事 item_id(可选) |