> ## Documentation Index
> Fetch the complete documentation index at: /llms.txt
> Use this file to discover all available pages before exploring further.

# generate_post

> PostChamp writes a LinkedIn post draft in the workspace voice and saves it as a draft.

{/* Generated by apps/docs/scripts/generate.ts. Do not edit by hand. */}

**Write a post** · Write

PostChamp writes a LinkedIn post draft in the workspace voice and saves it as a draft. Costs 5 credits; send an idempotencyKey (a new unique string per request, the same one when you retry) so a retry never charges twice. If you wrote the text yourself, use import\_post instead (free).

* **Credits:** 5
* **Needs confirmation:** no
* **In the ChatGPT app:** yes

## Input

**topic** `string` *required*

What the post is about: the idea, story or facts to use. Length 1–4000.

**contentStyleId** `string`

A content style id (custom style uuid or preset:\<key>). Default: the workspace voice. Length 1–100.

**sourceUrl** `string`

A web page or YouTube link to draw on. Length 0–2048. Format: `uri`.

**notes** `string`

Extra instructions for this post. Length 0–2000.

**plannedDate** `string`

Day the post is planned for, YYYY-MM-DD in the workspace timezone (a plan, not a schedule).

**versions** `integer`

How many versions to write (1–3, one charge). Range 1–3. Default: `1`.

**answers** `object[]`

Answers to a question a previous call returned (status needs\_input): \[\{ question, answer }]. 0–3 items.

**properties**

**question** `string` *required*

Length 0–500.

**answer** `string` *required*

Length 0–2000.

**idempotencyKey** `string`

Optional. The same key with the same arguments returns the same drafts without a second charge. Length 8–80.

**workspace** `string`

Workspace id or exact name. Required when this connection can use more than one workspace (see list\_workspaces). Length 1–200.

## Example call

```json Tool call
{
  "name": "generate_post",
  "arguments": {
    "topic": "<topic>"
  }
}
```

## Related

* [All MCP tools](/mcp/tools.md)
* [Connect an assistant](/mcp/quickstart.md)
* [Limits and errors](/mcp/limits-and-errors.md)
