# Publish an article now

> Publish an article to X now. Pass the current version from articles.get. Call it only when the user asked for this in the conversation; never on your own initiative. Spends a post credit.

`articles.publish` · publish

- **MCP tool:** `publish_article`. Loaded by default in MCP clients.
- **REST:** `POST /v1/articles/publish`
- **CLI:** `xholic articles publish`
- **Scope:** `publish`. Destructive: it can't be taken back
- **Plan:** Pro plan or higher
- **Cost:** Spends a post credit when the post goes live.
- **Rate limit bucket:** `write`

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (uuid) | Yes | Article id from articles.list. |
| `version` | integer 1–9007199254740991 | Yes | The article's current version, from articles.get. A stale version is refused so edits never overwrite each other. |
| `account` | string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection's default account. |
| `dryRun` | boolean | No | Return exactly what would happen without doing it. |
| `idempotencyKey` | string ≤ 200 chars | No | A unique key for this write. Repeating a call with the same key returns the first result instead of acting twice. |
