hermosodocs

post_x_article

Publish a long-form Article to X destructive

Area: X / TWITTER · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

Description

Publish a long-form ARTICLE to the user’s connected X (Twitter) account — X’s own long-form format, which is a different thing from a long POST. THE HARD LIMIT TO PLAN AROUND: X allows only about 10 Article DRAFTS and 5 Article PUBLISHES per account per DAY, it publishes that cap nowhere, and it counts a FAILED attempt against them — so never iterate on an article by republishing it, and use `publish: false` to save a draft for the user to read in X’s own composer when they want to review before it goes out. This PUBLISHES immediately and PUBLICLY: show the user the full text and get an explicit yes first, because a published Article can NEVER be edited (X’s own rule — edit_x_post will refuse it) and the only remedy is to delete and republish, which costs another of the five. Costs credits (X bills per API request, and this is three of them). Needs X connected (Connectors > X). Full rules: get_instructions({topic:'post_x_article'}).

Parameters

ParameterTypeDescription
brandstringWHICH 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.
hookstringthe post’s ANGLE, recorded at publish: a list_hooks id (e.g. "direct_callout") or your own wording reused EXACTLY across a campaign. post_performance ranks hooks on it (a winner needs 5 posts sharing one); omitted, this post never votes.
subjectstringwhat the post is about (product, feature, offer or theme): post_performance’s second axis, so reuse the exact wording.
recipestringthe post's FORMAT id, e.g. "slideshow" or "imessage_chat" — post_performance groups by it, so reuse one id per format
ideaIdstringshort id of the content-plan idea this post came from
titlerequiredstringthe Article title — X requires one and refuses a draft without it. This is what shows on the timeline card.
bodyrequiredstringthe article body, as markdown or plain prose. Markdown headings, lists, quotes, links, emphasis, ``` code fences and | pipe | tables | are all converted to X’s own Article structure.
coverImageUrlstringoptional cover picture for the Article — a Hermoso render URL or an upload_file url. Must be a STILL image; X Article covers are not videos.
headings"blocks" | "text"how headings are rendered. “blocks” (default) uses X’s own heading block types for # and ## headings; ### and deeper become bold lines, because X Articles refuse a third-level heading (the reply says so). “text” renders every heading as a BOLD standalone paragraph instead: the words survive and the heading structure does not, and the reply says so.
allowLossybooleanpublish even though part of the source cannot be represented on X, rendering those parts as plain text. OFF by default and it should usually stay off — silently publishing a user’s copy with formatting missing is worse than refusing and telling them.
publishbooleandefault true. Pass false to save it as a DRAFT in the account’s X Articles composer instead — nothing becomes public, the user can review and publish it from X, and it does not spend one of the five daily publishes.
accountstringwhich connected account: its @handle or id from list_connector_accounts; needed only when several are connected

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_x_article.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"post_x_article","arguments":{"title":"<string>","body":"<string>"}}}

CLI

hermoso call post_x_article --json '{"title":"<string>","body":"<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.

All 728 Publishing & scheduling tools · tools.json