delete_chapter
Permanently removes a chapter and its scenes, then renumbers all later chapters to close the gap. Requires book owner access and an API key with delete scope.
Instructions
Permanently delete a chapter. Hard delete — the chapter's scenes are deleted with it, and every later chapter in the book is renumbered down by one to close the gap. Only the book owner can delete, and the API key needs the 'delete' scope.
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": {
"chapterId": "<chapterId>"
},
"name": "delete_chapter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chapterId | Yes | Chapter ID |