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