Update page
update_pageModify a BookStack page: replace, append, or prepend Markdown content, rename, retag, or move it to another book or chapter.
Instructions
Replace a page's content, add to its end/start (mode), rename it, retag it or move it. For a small change inside an existing page prefer edit_page. WYSIWYG pages stay WYSIWYG (the Markdown is converted to HTML).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| mode | No | replace = markdown becomes the whole body; append/prepend = add it to the end/start | replace |
| name | No | New page name | |
| tags | No | Tags as {name, value}. When updating, this replaces all existing tags. | |
| markdown | No | New content, applied according to mode | |
| move_to_book_id | No | Move the page to the top level of this book | |
| move_to_chapter_id | No | Move the page into this chapter |