reorder_chapters
Sets a book's chapter reading order by submitting every chapter ID in the desired sequence; partial lists are rejected to prevent duplicate positions.
Instructions
Reorder a book's chapters. Pass the COMPLETE list of the book's chapter IDs in the desired reading order — a partial list is rejected, because the server has no atomic reorder endpoint and a partial write would leave duplicate positions. Only chapters whose position actually changes are written. If a failure interrupts the run, the reply says exactly which chapters moved; re-running with the same list is safe.
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": {
"bookId": "<bookId>",
"chapterIds": "<chapterIds>"
},
"name": "reorder_chapters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bookId | Yes | Book ID | |
| chapterIds | Yes | Every chapter ID in the book, in the desired reading order |