Create Collection
create_collectionCreate a new collection in NomaCMS, optionally including field definitions to define its complete schema in a single request.
Instructions
Create a new collection. Optionally include field definitions to create the collection with its full schema in a single request.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"slug": "<slug>"
},
"name": "create_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name (max 60 chars) | |
| slug | Yes | URL-friendly identifier, kebab-case (max 60 chars) | |
| fields | No | Array of field definitions to create with the collection | |
| is_singleton | No | If true, collection can only have one entry |