pptx_compress_medium
Compress a PowerPoint (.pptx) from freedailypro at the Medium level: pictures up to 150 dpi at JPEG quality 72, and opaque PNG photos are re-saved as JPEG when that is under half the size. Good for email. 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_medium"
}
}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. |