Compress Pdf
compress_pdfReduce the file size of a PDF.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "compress_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quality | No | Compression preset. | medium |
| source_url | No | Public URL of the PDF. | |
| file_base64 | No | Base64-encoded PDF. | |
| remove_metadata | No | Strip PDF metadata to reduce size further. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||