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.
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 |