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

# attach_pdf_to_post

> Finishes a PDF upload from create_pdf_upload: checks the size, that it is a PDF and at most 300 pages, then makes it the post document.

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

**Attach a PDF to a post** · Images, carousels and video

Finishes a PDF upload from create\_pdf\_upload: checks the size, that it is a PDF and at most 300 pages, then makes it the post document.

* **Credits:** Free
* **Needs confirmation:** no
* **In the ChatGPT app:** no

## Input

**postId** `string` *required*

Post id (from import\_post, generate\_post or get\_post). Format: `uuid`.

**uploadId** `string` *required*

Format: `uuid`.

**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": "attach_pdf_to_post",
  "arguments": {
    "postId": "7d2c3f4e-9a0b-4c5d-8e6f-1a2b3c4d5e6f",
    "uploadId": "7d2c3f4e-9a0b-4c5d-8e6f-1a2b3c4d5e6f"
  }
}
```

## Related

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