pdf_extract_pages
Extract specific pages from a PDF to create a new document. Specify start and end pages to isolate content sections or remove unwanted material.
Instructions
Extract a range of pages from a PDF into a new PDF file.
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>",
"output": "<output>",
"startPage": "<startPage>",
"endPage": "<endPage>"
},
"name": "pdf_extract_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the source PDF file | |
| output | Yes | Output file path | |
| startPage | Yes | Start page (1-based) | |
| endPage | Yes | End page (1-based, inclusive) |