pdf_insert_pages
Insert pages from one PDF into another at a specific position to add cover pages, appendices, or mid-document content.
Instructions
Insert pages from one PDF into another at a specific position. Useful for adding cover pages, appendices, or inserting content mid-document.
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": {
"targetPath": "<targetPath>",
"sourcePath": "<sourcePath>",
"outputPath": "<outputPath>",
"insertAfter": "<insertAfter>"
},
"name": "pdf_insert_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outputPath | Yes | Output path | |
| sourcePath | Yes | PDF to take pages from | |
| targetPath | Yes | PDF to insert pages into | |
| insertAfter | Yes | Insert after this page number (0 = insert at beginning, use page count for end) | |
| sourcePages | No | Which pages to take from source (1-indexed). Omit for all source pages. |