Marketing · publish_to_cms
Publish to WordPress
Publish or schedule a WordPress article.
- Price
- included
- Requirements
- WordPress
- set it up in Settings → Integrations
- Human approval
- Yes, by default
- outside-facing write: a human validates
Input
| Field | Type | Description |
|---|---|---|
| articles | array | Batch publish: the FULL list of articles to publish in one call (preferred whenever there is more than one). Each item takes the same fields as a single article. When provided, the top-level single-article fields are ignored. |
| contentId | string | Optional UUID of an existing marketingContent record to update |
| title | string | Post title |
| content | string | Post body (HTML or plain text) |
| status | draft | publish | future | WordPress post status (default: draft) |
| publishDate | string | ISO 8601 datetime for future-scheduled posts (required when status=future) |
| categories | array | Category names to assign |
| tags | array | Tag names to assign |
| featuredImageUrl | string | URL of the featured image (optional) |
Call this tool
Through the HTTP API, or from the MCP server with the run meta-tool.
curl https://api.ezyagents.fr/gateway/v1/run \
-H "Authorization: Bearer ezk_…" -H "Content-Type: application/json" \
-d '{"tool":"publish_to_cms","input":{"articles":[],"contentId":"…","title":"…","content":"…"}}'$
run({ "tool": "publish_to_cms", "input": {"articles":[],"contentId":"…","title":"…","content":"…"} })