add_attachments
Attach files to a PDF as embedded attachments. Provide the PDF path and attachment file paths to generate a new PDF with those files included.
Instructions
Attach files to a PDF as embedded attachments.
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": {
"file": "<file>",
"attachments": "<attachments>"
},
"name": "add_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the PDF file | |
| attachments | Yes | Array of file paths to attach | |
| output_name | No | Output file path (defaults to same dir with suffix) |