update_wordpress_post
Edit a WordPress post destructive
Description
Change a WordPress post that already exists: title, body, excerpt, slug, status (publish a draft, unpublish to draft, make private, or schedule with a future date), categories, tags or the featured image. Only the fields passed change; the reply is WordPress's own copy of the post. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
brand | string | WHICH PROFILE the post lives in, for THIS CALL ONLY: an id or exact name from list_brands, needed when it was published in a profile this connection is not pinned to. A name that matches no profile, or two, is REFUSED and nothing is done. |
postIdrequired | number | the post id post_to_wordpress or list_wordpress_posts returned |
title | string | |
text | string | the new body — replaces the old one |
excerpt | string | |
slug | string | |
status | "publish" | "draft" | "pending" | "private" | "future" | |
date | string | |
categories | string[] | |
tags | string[] | |
featuredImageUrl | string | a new featured image |
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/update_wordpress_post.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"update_wordpress_post","arguments":{"postId":"<number>"}}}
CLI
hermoso call update_wordpress_post --json '{"postId":"<number>"}'
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
post_to_wordpressPublish a WordPress blog 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