update_chapter
Modify an existing chapter in BookStack by updating its name, description, tags, priority, or default template using the chapter ID.
Instructions
Update an existing chapter
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| default_template_id | No | Default template ID for new pages | |
| description | No | Chapter description (plain text) | |
| description_html | No | Chapter description (HTML format) | |
| id | Yes | Chapter ID | |
| name | No | Chapter name (max 255 chars) | |
| priority | No | Chapter priority/order | |
| tags | No | Array of tags with name and value |
Input Schema (JSON Schema)
{
"properties": {
"default_template_id": {
"description": "Default template ID for new pages",
"type": "number"
},
"description": {
"description": "Chapter description (plain text)",
"type": "string"
},
"description_html": {
"description": "Chapter description (HTML format)",
"type": "string"
},
"id": {
"description": "Chapter ID",
"type": "number"
},
"name": {
"description": "Chapter name (max 255 chars)",
"type": "string"
},
"priority": {
"description": "Chapter priority/order",
"type": "number"
},
"tags": {
"description": "Array of tags with name and value",
"items": {
"properties": {
"name": {
"type": "string"
},
"order": {
"type": "number"
},
"value": {
"type": "string"
}
},
"required": [
"name",
"value"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"id"
],
"type": "object"
}