post_to_wordpress
Publish a WordPress blog post destructive
Description
Use this when the user wants to publish, draft or schedule a BLOG POST on their WordPress site. Publishing costs no credits. A title is REQUIRED and the text becomes the body: plain text or light markdown (## headings, - lists, **bold**, [links](url)) is turned into WordPress blocks, and HTML is sent as written. status: publish (default), draft, pending (submit for review), private (logged-in editors only) or future with a date — a future `date` makes WordPress schedule it natively. The FIRST image becomes the FEATURED image, every other image is uploaded and placed inline, and a video is uploaded and embedded (if the site's host refuses the file as too large, the post plays it from its own link and the reply says so). categories and tags take names or ids; a name the site lacks is CREATED and the reply says which. An over-long title is refused, never cut. WordPress has NO per-post views in its API: never quote a view count for a WordPress post. Works on a self-hosted site and on a site hosted on WordPress.com, whichever the brand connected. Not connected: the user connects it under Connectors > WordPress, or you call connect_connector with provider wordpress (siteUrl, username, appPassword).
Parameters
| Parameter | Type | Description |
|---|---|---|
brand | string | WHICH PROFILE this post belongs to, for THIS CALL ONLY (beats the connection’s pin): an id or exact name from list_brands. A name that matches no profile, or two, is REFUSED and nothing is posted. |
hook | string | the post's angle — a list_hooks id or your own wording, reused exactly |
subject | string | what the post is about |
recipe | string | the post's FORMAT id, e.g. "slideshow" or "imessage_chat" — post_performance groups by it, so reuse one id per format |
ideaId | string | short id of the content-plan idea this post came from |
idempotencyKey | string | any stable string: a repeat within 24h returns the original post instead of posting again |
allowDuplicate | boolean | post it even though an identical post was just made |
titlerequired | string | REQUIRED — the post title |
text | string | the body: plain text, light markdown or HTML |
status | "publish" | "draft" | "pending" | "private" | "future" | default publish |
date | string | ISO time to publish at; a future date schedules it on WordPress itself |
excerpt | string | the summary under the title in lists and search |
slug | string | the end of the post URL |
categories | string[] | category names or ids (a missing name is created) |
tags | string[] | tag names or ids (a missing name is created) |
imageUrl | string | one image — becomes the featured image |
imageUrls | string[] | several images: the first is featured, the rest go inline |
videoUrl | string | one video, embedded in the post |
altText | string | alt text for the images |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/post_to_wordpress.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"post_to_wordpress","arguments":{"title":"<string>"}}}
CLI
hermoso call post_to_wordpress --json '{"title":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
connect_connectorConnect a paste-a-key accountupdate_wordpress_postEdit a WordPress postdelete_wordpress_postDelete a WordPress postlist_wordpress_postsList WordPress postsget_wordpress_postRead a WordPress postlist_wordpress_termsList WordPress categories or tagscreate_wordpress_termCreate a WordPress category or tag