pptx_compress_default
Compress a PowerPoint (.pptx) from freedailypro at the Default level, the sharpest: pictures are kept up to 220 dpi at JPEG quality 82, large photos get smaller, and nothing is converted from PNG to JPEG. Pictures (JPEG, PNG, BMP) are re-saved smaller, unused layouts and the preview picture are removed, and the file is re-packed at maximum compression; text, charts, animations, audio and video are left exactly as they are, so the deck stays fully editable. Always returns the .pptx as base64 plus originalBytes, outputBytes, reductionPercent and the pictures changed, even when it could not get smaller (a note says so).
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": "pptx_compress_default"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxDpi | No | Never keep pictures sharper than this many dpi (48 to 300), on top of the level. | |
| fileBase64 | Yes | The presentation (.pptx), base64 encoded. Up to 50 MB and 500 slides. Old .ppt files and password-protected files are not supported. | |
| removeNotes | No | Also remove speaker notes first. Default false. | |
| removeThumbnail | No | Remove the stored preview picture. Default true; send false to keep it. | |
| removeUnusedLayouts | No | Remove slide layouts no slide uses, and the pictures only they carry. Default true; send false to keep them. |