Delete a collection
delete_collectionDelete an EMPTY collection's schema. A collection that still has items is refused with its item count — deleting a collection never deletes its items, so delete those first (delete_collection_item) if the user really wants them gone. Built-in collections cannot be deleted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The site the collection belongs to | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| collection_type | Yes | The collection's slug, as list_collections returns it (e.g. "blog", "menu", "products", "faqs"). |