pdf_extract_pages
Extract desired pages from a PDF and save them as a new PDF. Specify page numbers.
Instructions
Extract specific pages into a new PDF.
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>",
"pages": "<pages>"
},
"name": "pdf_extract_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | Yes | Page numbers to extract (1-indexed) | |
| filePath | Yes | Source PDF path | |
| outputPath | Yes | Output path |