update_shelf
Modify an existing shelf's properties including name, description, books, and tags in BookStack to maintain organized content structure.
Instructions
Update an existing shelf
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| books | No | Array of book IDs (replaces existing books) | |
| description | No | Shelf description (plain text) | |
| description_html | No | Shelf description (HTML format) | |
| id | Yes | Shelf ID | |
| name | No | Shelf name (max 255 chars) | |
| tags | No | Array of tags with name and value |
Input Schema (JSON Schema)
{
"properties": {
"books": {
"description": "Array of book IDs (replaces existing books)",
"items": {
"type": "number"
},
"type": "array"
},
"description": {
"description": "Shelf description (plain text)",
"type": "string"
},
"description_html": {
"description": "Shelf description (HTML format)",
"type": "string"
},
"id": {
"description": "Shelf ID",
"type": "number"
},
"name": {
"description": "Shelf name (max 255 chars)",
"type": "string"
},
"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"
}