post_blog
Publish blog articles to a CMS with structured validation for title, description, content, and slug fields to ensure proper formatting and data integrity.
Instructions
Post a blog article to the CMS API using Zod validation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
author_avatar_url | No | Author avatar URL | |
author_name | No | Author name | |
content | Yes | Content of the blog post | |
cover_url | No | Cover image URL | |
description | Yes | Description of the blog post | |
locale | No | Language locale | |
slug | Yes | URL slug for the blog post | |
status | No | Status of the blog post (draft), only draft is supported | |
title | Yes | Title of the blog post |
Input Schema (JSON Schema)
{
"properties": {
"author_avatar_url": {
"description": "Author avatar URL",
"type": "string"
},
"author_name": {
"description": "Author name",
"type": "string"
},
"content": {
"description": "Content of the blog post",
"type": "string"
},
"cover_url": {
"description": "Cover image URL",
"type": "string"
},
"description": {
"description": "Description of the blog post",
"type": "string"
},
"locale": {
"description": "Language locale",
"type": "string"
},
"slug": {
"description": "URL slug for the blog post",
"type": "string"
},
"status": {
"description": "Status of the blog post (draft), only draft is supported",
"enum": [
"draft"
],
"type": "string"
},
"title": {
"description": "Title of the blog post",
"type": "string"
}
},
"required": [
"title",
"description",
"content",
"slug"
],
"type": "object"
}