pdf_compress
Compress PDF files to reduce their size while preserving content, with adjustable quality presets or a 1–100 setting.
Instructions
Compresses a PDF to reduce file size. [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_compress"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | The input PDF file path. | |
| output | Yes | The output PDF file path. | |
| quality | No | Compression quality preset (low, medium, high) or integer 1-100 |