pdf_compress_aggressive
Shrink a PDF harder (the site's Aggressive mode): Balanced steps, then pages become pictures at finer and finer steps, converting a page only when that is clearly smaller. Text on converted pages is no longer selectable (textSelectable says which). Slow: several seconds per page; returns the best level finished (truncated: true) if the time budget runs out. Errors if the PDF is unreadable, password-protected, over 100 pages or cannot be made smaller.
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_aggressive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileBase64 | Yes | The PDF, base64 encoded (up to 20 MB, up to 100 pages) |