merge_pdfs
Combine multiple PDFs into a single document by providing ordered URLs or base64 files, ideal for re-assembling split reports or building one attachment from several exports.
Instructions
Merge multiple PDFs, in the given order, into a single PDF document. Accepts either public URLs or base64-encoded files (exactly one of the two). Returns the merged file as base64 (up to 10 MB) plus per-input page counts. Useful for re-assembling split reports, combining invoices or building one attachment from several exports.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "merge_pdfs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | No | Ordered list of 2-10 public http(s) PDF URLs to merge into one document. Leave empty when using files_base64. | |
| files_base64 | No | Ordered list of base64-encoded PDFs to merge (e.g. parts produced by split_pdf). Leave empty when using urls. |