Create CMS collection
create_collectionCreate a CMS collection — a repeating content type such as Posts, Team or Testimonials — with the fields you specify. Returns each field's key, which is what create_item expects. The collection stores content and can be read back; it does not by itself publish a page per item, so to show the content put it on a page with add_section.
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": {
"siteId": "<siteId>",
"name": "<name>"
},
"name": "create_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | What the collection is called, e.g. "Blog posts". | |
| fields | No | The fields each item has. Omit for a single Title field, which you can add to later in the CMS panel. | |
| siteId | Yes |