delete_wordpress_post
Delete a WordPress post destructive
Description
Delete a WordPress post. Call it WITHOUT confirm first: nothing is deleted and you get a sentence naming the post to show the user. By default it goes to WordPress's TRASH (restorable from Posts > Trash); permanent:true skips the trash and cannot be undone. 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 | |
permanent | boolean | skip the trash — cannot be undone |
confirm | boolean | true only once the user agreed to the sentence the first call returned |
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/delete_wordpress_post.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"delete_wordpress_post","arguments":{"postId":"<number>"}}}
CLI
hermoso call delete_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
update_wordpress_postEdit a WordPress postlist_wordpress_postsList WordPress postspost_to_wordpressPublish a WordPress blog postget_wordpress_postRead a WordPress postlist_wordpress_termsList WordPress categories or tagscreate_wordpress_termCreate a WordPress category or tag