pdf_blank_pages
Insert blank pages after specified pages in a PDF, useful for adding separators or starting chapters on odd pages.
Instructions
Insert blank pages into a PDF at specified positions. Useful for adding separator pages or ensuring chapters start on odd pages.
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": {
"filePath": "<filePath>",
"outputPath": "<outputPath>",
"afterPages": "<afterPages>"
},
"name": "pdf_blank_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | PDF file path | |
| pageSize | No | "MatchPrevious" matches the size of the preceding page (default) | MatchPrevious |
| afterPages | Yes | Insert a blank page after each of these page numbers (1-indexed). Use 0 to add at the beginning. | |
| outputPath | Yes | Output path |