merge_pdfs
Combine multiple PDFs in the order you specify into one new document while keeping bookmarks; optionally set output path, overwrite existing files, and use one password for encrypted inputs.
Instructions
Concatenate PDFs in the order given into one new file (bookmarks are kept).
output_path: must end in .pdf. Default: merged.pdf next to the first input. overwrite: replace the output if it exists. Default false: an existing file is an error. password: if any input is encrypted (one password for all; the output is not encrypted).
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": {
"paths": "<paths>"
},
"name": "merge_pdfs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | ||
| password | No | ||
| overwrite | No | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |