Direct Publish
direct_publishPublish a blog post directly to WordPress from markdown, bypassing Notion. Handles image uploads, Gutenberg conversion, featured image generation, and SEO metadata. Set publish=true to go live or false to save as draft.
Instructions
Publish a blog post directly to WordPress without Notion. Handles image uploads, Gutenberg conversion, featured image generation, and SEO metadata. Body must be markdown. Set publish=true to go live, false for draft. Use this instead of create_post when you don't need Notion.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "<title>",
"body": "<body>"
},
"name": "direct_publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Post content in markdown (required) | |
| slug | No | Custom URL slug | |
| tags | No | Tag names | |
| title | Yes | Post title | |
| publish | No | Publish immediately (true) or create as draft (false) | |
| category | No | Category name | |
| imageTitle | No | Featured image title/text overlay | |
| seoKeyword | No | SEO focus keyword | |
| seoDescription | No | Custom meta description for SEO (max 160 chars) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | Use get_job to poll status |