wechat_publish_article
Publish articles to WeChat Official Accounts using Markdown format. Automates Markdown-to-HTML conversion, image handling, and supports preview and official publishing modes for streamlined content distribution.
Instructions
将文章发布到微信公众号,支持Markdown格式
Input Schema
Name | Required | Description | Default |
---|---|---|---|
appId | Yes | 微信公众号AppID | |
appSecret | Yes | 微信公众号AppSecret | |
author | Yes | 作者名称 | |
content | Yes | Markdown格式的文章内容 | |
coverImagePath | No | 封面图片路径 | |
previewMode | No | 是否为预览模式 | |
previewOpenId | No | 预览用户OpenID | |
title | Yes | 文章标题 |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"appId": {
"description": "微信公众号AppID",
"type": "string"
},
"appSecret": {
"description": "微信公众号AppSecret",
"type": "string"
},
"author": {
"description": "作者名称",
"type": "string"
},
"content": {
"description": "Markdown格式的文章内容",
"type": "string"
},
"coverImagePath": {
"description": "封面图片路径",
"type": "string"
},
"previewMode": {
"default": false,
"description": "是否为预览模式",
"type": "boolean"
},
"previewOpenId": {
"description": "预览用户OpenID",
"type": "string"
},
"title": {
"description": "文章标题",
"type": "string"
}
},
"required": [
"title",
"content",
"author",
"appId",
"appSecret"
],
"type": "object"
}