Tous les outils

Marketing · publish_to_cms

Publier sur WordPress

Publie ou programme un article WordPress.

Prix
inclus
Prérequis
WordPress
à brancher dans Paramètres → Intégrations
Validation humaine
Oui, par défaut
écriture vers l'extérieur : un humain valide

Entrée

ChampTypeDescription
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)

Appeler cet outil

Via l'API HTTP, ou depuis le serveur MCP avec le méta-outil run.

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":"…"} })