Merge PDF
pdf_mergeMerge two or more PDFs into one new file in the order you specify, without overwriting existing documents.
Instructions
Combine 2 or more PDFs, in the order given, into one new PDF. There is no upper limit on the number of files.
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": {
"inputs": "<inputs>",
"output": "<output>"
},
"name": "pdf_merge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | PDF paths in the order to combine. | |
| output | Yes | Path for the new PDF, inside an allowed folder. Must not exist yet; superPDF never overwrites files. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | ||
| pages | Yes | ||
| output | Yes |