写入指定章节
write_chapter写入指定章节号的章节:已存在则修订(旧版本自动存档可回滚),不存在则创建。需要 api_key。
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": {
"novel_id": "<novel_id>",
"number": "<number>",
"title": "<title>",
"content": "<content>"
},
"name": "write_chapter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | 本次修改说明 | |
| title | Yes | ||
| number | Yes | ||
| api_key | No | ||
| content | Yes | ||
| summary | No | ||
| novel_id | Yes |