All tools

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

FieldTypeDescription
articlesarrayBatch 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.
contentIdstringOptional UUID of an existing marketingContent record to update
titlestringPost title
contentstringPost body (HTML or plain text)
statusdraft | publish | futureWordPress post status (default: draft)
publishDatestringISO 8601 datetime for future-scheduled posts (required when status=future)
categoriesarrayCategory names to assign
tagsarrayTag names to assign
featuredImageUrlstringURL 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":"…"} })