create_shelf
Create a new shelf in BookStack to organize books by adding a name, description, and optional books or tags for structured content management.
Instructions
Create a new shelf
Input Schema
Name | Required | Description | Default |
---|---|---|---|
books | No | Array of book IDs to add to shelf | |
description | No | Shelf description (plain text) | |
description_html | No | Shelf description (HTML format) | |
name | Yes | Shelf name (required, max 255 chars) | |
tags | No | Array of tags with name and value |
Input Schema (JSON Schema)
{
"properties": {
"books": {
"description": "Array of book IDs to add to shelf",
"items": {
"type": "number"
},
"type": "array"
},
"description": {
"description": "Shelf description (plain text)",
"type": "string"
},
"description_html": {
"description": "Shelf description (HTML format)",
"type": "string"
},
"name": {
"description": "Shelf name (required, 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": [
"name"
],
"type": "object"
}