mcp-pdf-tools

The Unlicense
13

extract-pages

Extract specific pages from a PDF file

Input Schema

NameRequiredDescriptionDefault
input_pathYesInput PDF file path
output_pathYesOutput path for new PDF
pagesYesList 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" }