pdf_sanitize
Sanitize PDFs by removing metadata, scripts, attachments, and thumbnails to eliminate hidden data before sharing or archiving.
Instructions
Deeply sanitizes a PDF document by removing metadata, scripts, attachments, and thumbnails. [Input: PDF (.pdf) | Output: PDF (.pdf)]
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input": "<input>",
"output": "<output>"
},
"name": "pdf_sanitize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | ||
| output | Yes | ||
| remove_scripts | No | ||
| remove_metadata | No | ||
| remove_attachments | No |