# Hermoso: post_x_article: Publish a long-form · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/post_x_article/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/) / post_x_article

# `post_x_article`

Publish a long-form Article to X destructive

Area: X / TWITTER · [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/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

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

`subject` `string` what the post is about (product, feature, offer or theme): post_performance’s second axis, so reuse the exact wording.

`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

`title` required `string` the Article title — X requires one and refuses a draft without it. This is what shows on the timeline card.

`body` required `string` the 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.

`coverImageUrl` `string` optional 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.

`allowLossy` `boolean` publish 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.

`publish` `boolean` default 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.

`account` `string` which 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](https://hermoso.ai/docs/credits/).

## Related tools

- [edit_x_post](https://hermoso.ai/docs/reference/publish/edit_x_post/) Edit a post on X
- [get_instructions](https://hermoso.ai/docs/reference/workspace/get_instructions/) Read Hermoso's full instructions
- [post_to_x](https://hermoso.ai/docs/reference/publish/post_to_x/) Publish a post to X (Twitter)
- [delete_x_post](https://hermoso.ai/docs/reference/publish/delete_x_post/) Delete a post on X
- [x_post_metrics](https://hermoso.ai/docs/reference/publish/x_post_metrics/) Read performance of a post on X
- [x_post_insights](https://hermoso.ai/docs/reference/publish/x_post_insights/) Advertiser analytics for your own posts on X
- [x_post_insights_historical](https://hermoso.ai/docs/reference/publish/x_post_insights_historical/) Advertiser analytics for your own X posts, over any date range
- [x_mentions](https://hermoso.ai/docs/reference/publish/x_mentions/) Read who is mentioning you on X

[All 728 Publishing & scheduling tools](https://hermoso.ai/docs/reference/publish/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
