extract-pages
Extract selected pages from a PDF document to create a new file. Specify input and output paths along with the desired page numbers for precise extraction.
Instructions
Extract specific pages from a PDF file
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| input_path | Yes | Input PDF file path | |
| output_path | Yes | Output path for new PDF | |
| pages | Yes | List of page numbers to extract (1-based indexing) | 
Input Schema (JSON Schema)
{
  "properties": {
    "input_path": {
      "description": "Input PDF file path",
      "type": "string"
    },
    "output_path": {
      "description": "Output path for new PDF",
      "type": "string"
    },
    "pages": {
      "description": "List of page numbers to extract (1-based indexing)",
      "items": {
        "type": "integer"
      },
      "type": "array"
    }
  },
  "required": [
    "input_path",
    "output_path",
    "pages"
  ],
  "type": "object"
}