process_large_pdf
Break down large PDF files into smaller chunks to manage memory constraints. Define page range, chunk size, and output summary for efficient processing of PDFs over 50MB.
Instructions
Process a large PDF file in smaller chunks to handle memory constraints. Use this for PDFs over 50MB.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
chunkSizePages | No | Number of pages to process at a time (default: 20) | |
endPage | No | Ending page number (1-based, default: all) | |
filePath | Yes | Absolute path to the large PDF file | |
outputSummary | No | Whether to provide a summary instead of full content (default: true) | |
startPage | No | Starting page number (1-based, default: 1) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"chunkSizePages": {
"description": "Number of pages to process at a time (default: 20)",
"exclusiveMinimum": 0,
"type": "integer"
},
"endPage": {
"description": "Ending page number (1-based, default: all)",
"exclusiveMinimum": 0,
"type": "integer"
},
"filePath": {
"description": "Absolute path to the large PDF file",
"type": "string"
},
"outputSummary": {
"description": "Whether to provide a summary instead of full content (default: true)",
"type": "boolean"
},
"startPage": {
"description": "Starting page number (1-based, default: 1)",
"exclusiveMinimum": 0,
"type": "integer"
}
},
"required": [
"filePath"
],
"type": "object"
}