# merge_pdfs: Merge PDFs

Join PDFs into one, in the order given (file_ids, then files, then file_urls). Each part gets a bookmark with its name.

A tool of the [FynePDF MCP server](https://fynepdf.com/developers/docs/mcp) (`https://api.fynepdf.com/mcp`). Makes a new file; the original is kept.

## Ask for it

- "Merge these three PDFs in this order."
- "Combine the chapters into one book."

## Inputs

| Input | Type | Required | What it does |
|---|---|---|---|
| `file_ids` | array of string |  | FynePDF file_ids, in order. |
| `files` | array of object |  | Files the person attached in ChatGPT, in order (filled in by ChatGPT). |
| `file_urls` | array of string |  | Public links to the files, in order. |

## The same over HTTP

From your own code, call [Merge PDF API](https://fynepdf.com/developers/docs/api/merge).

## Connect it

[Claude](https://fynepdf.com/developers/docs/mcp/claude) · [ChatGPT](https://fynepdf.com/developers/docs/mcp/chatgpt) · [Cursor](https://fynepdf.com/developers/docs/mcp/cursor) · [VS Code](https://fynepdf.com/developers/docs/mcp/vscode) · [Claude Code](https://fynepdf.com/developers/docs/mcp/claude-code)


---

Open this page in a browser: https://fynepdf.com/developers/docs/mcp/tools/merge_pdfs

More: [All tools](https://fynepdf.com/tools) · [AI agents](https://fynepdf.com/ai/agents) · [llms.txt](https://fynepdf.com/llms.txt) · [Sitemap](https://fynepdf.com/sitemap.xml)
