Merge PDFs
merge_pdfsMerge two or more PDF files into a single PDF, in the order given. Input: a list of base64-encoded PDF file contents (each max 25 MB / 500 pages). Returns a download_url for the merged PDF (link valid 24 hours), its size and page count. Costs 1 credit; 5 free calls per month.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pdfs_base64": "<pdfs_base64>"
},
"name": "merge_pdfs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pdfs_base64 | Yes | The PDF files to merge, each as a base64-encoded string, in the order they should appear in the output (at least 2; each max 25 MB / 500 pages). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||