pdf_compress_greyscale
Shrink a scanned PDF from freedailypro by turning pages into 100 dpi greyscale JPEG pictures: shading and photos are kept, colour is dropped, text on converted pages is no longer selectable. Larger than the black-and-white files but nothing is thresholded to pure black and white. A page is converted only when that makes it at least 10% smaller. Errors (nothing is returned) if the result would not be smaller than the original, or if the PDF is unreadable, password-protected or over 100 pages.
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": {
"fileBase64": "<fileBase64>"
},
"name": "pdf_compress_greyscale"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | Render resolution, 100 to 200. Default 100 | |
| fileBase64 | Yes | The PDF, base64 encoded (up to 20 MB, up to 100 pages) |