create_cms_category
Create a new CMS post category. Name is required; slug is auto-generated from name if omitted. Thumbnail URL is fetched and uploaded to project CDN.
Args: project_id: The project ID. name: Category display name (required). slug: URL slug; auto-generated from name if empty. description: Optional category description. thumbnail: Thumbnail image URL; will be uploaded to project CDN. thumbnail_title: Thumbnail title (stored in thumbnail_meta). thumbnail_alt: Thumbnail alt text (stored in thumbnail_meta). thumbnail_caption: Thumbnail caption (stored in thumbnail_meta).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| slug | No | ||
| thumbnail | No | ||
| project_id | Yes | ||
| description | No | ||
| thumbnail_alt | No | ||
| thumbnail_title | No | ||
| thumbnail_caption | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |