sanitize_pdf
Remove JavaScript, embedded files, and metadata from a PDF to reduce security risks and protect sensitive information.
Instructions
Sanitize a PDF by removing JavaScript, embedded files, and metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the PDF file | |
| output_name | No | Output file path (defaults to same dir with suffix) |