Write or Update Chapter Draft
story_write_chapterSaves or updates chapter Markdown in manuscript//.md, creating automatic backups for overwritten chapters and tracking writing progress.
Instructions
Lưu hoặc cập nhật nội dung chương truyện vào manuscript//.md. Tự động snapshot backup an toàn nếu sửa chương cũ và ghi nhận tiến độ viết.
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": {
"arc": "<arc>",
"chapter": "<chapter>",
"content": "<content>"
},
"name": "story_write_chapter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arc | Yes | Tên Arc (ví dụ: "arc_01") | |
| title | No | Tiêu đề chương (ví dụ: "Khởi Đầu Định Mệnh") | |
| chapter | Yes | Tên Chapter (ví dụ: "ch_001") | |
| content | Yes | Nội dung văn bản chương (Markdown) | |
| autoSnapshot | No | Tự động tạo snapshot backup trước khi ghi đè chương đã có |