remove_pdf_content
Remove images, annotations, or compress streams in a PDF to reduce file size. Specify the source file and optional output path.
Instructions
Remove specific content from PDF to reduce file size.
Args:
file_path: Path to source PDF file
output_file: Output PDF file path (optional, auto-generated)
remove_images: Whether to remove all images
remove_annotations: Whether to remove annotations
compress_streams: Whether to compress content streams
Returns:
JSON string with content removal results and statisticsInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| output_file | No | ||
| remove_images | No | ||
| remove_annotations | No | ||
| compress_streams | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |