create_article
Generate and publish blog articles on Emlog by defining title, content, excerpt, tags, cover image, category, draft status, and comment settings through structured input.
Instructions
Create a new blog article
Input Schema
Name | Required | Description | Default |
---|---|---|---|
allow_remark | No | Whether to allow comments | |
content | Yes | The content of the article | |
cover | No | The cover image URL | |
draft | No | Whether to save as draft (y) or publish (n) | |
excerpt | No | The excerpt/summary of the article | |
sort_id | No | The category ID for the article | |
tags | No | Comma-separated tags for the article | |
title | Yes | The title of the article | |
top | No | Whether to pin to homepage |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"allow_remark": {
"description": "Whether to allow comments",
"enum": [
"y",
"n"
],
"type": "string"
},
"content": {
"description": "The content of the article",
"type": "string"
},
"cover": {
"description": "The cover image URL",
"type": "string"
},
"draft": {
"description": "Whether to save as draft (y) or publish (n)",
"enum": [
"y",
"n"
],
"type": "string"
},
"excerpt": {
"description": "The excerpt/summary of the article",
"type": "string"
},
"sort_id": {
"description": "The category ID for the article",
"type": "number"
},
"tags": {
"description": "Comma-separated tags for the article",
"type": "string"
},
"title": {
"description": "The title of the article",
"type": "string"
},
"top": {
"description": "Whether to pin to homepage",
"enum": [
"y",
"n"
],
"type": "string"
}
},
"required": [
"title",
"content"
],
"type": "object"
}