Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.
createCMSCollectionTOOL
Creates a new CMS collection with optional field definitions.
The collection will be managed by this plugin. After creation, you can add items using upsertCMSItem.
Field types supported: string, number, boolean, color, date, image, link, formattedText, file, enum, collectionReference, multiCollectionReference.
For enum fields, provide cases array with id and name for each option. For collectionReference/multiCollectionReference fields, provide the collectionId of the referenced collection. For file fields, provide allowedFileTypes array with file extensions.
Parameters
name *string
Name for the new CMS collection
fields *object[]
Field definitions for the collection
Default: []
Show item properties
id *string
Unique field identifier
name *string
Human-readable field name
type *"string" | "number" | "boolean" | "color" | "date" | "image" | "link" | "formattedText" | "file" | "enum" | "collectionReference" | "multiCollectionReference"
The data type for this field
required?boolean
Whether the field is mandatory
allowedFileTypes?string[]
Allowed file extensions for file fields (e.g., ["pdf", "txt"])
cases?object[]
Enum options with id and name
Show item properties
id *string
name *string
collectionId?string
Referenced collection ID for reference fields
Request example
{ "method": "tools/call", "params": { "name": "createCMSCollection", "arguments": { "name": "string", "fields": [] } } }