Update a collection
cms_collections_updateUpdates displayName (1–200 characters), description (up to 2,000 characters; pass null to clear), and/or slug (a rename). A slug change fails with a conflict when another active collection in the website already uses it, and when the website has a published version the rename is validated against the published site’s content queries and rejected when it would break them.
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": {
"collectionId": "<collectionId>"
},
"name": "cms_collections_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | New slug for the collection — a rename. Omit to keep the current slug. Must be unique among the website’s active collections; when the website has a published version the rename is validated against the published site’s content queries. | |
| description | No | ||
| displayName | No | ||
| collectionId | Yes |