pptx_compress_default
Compress a PowerPoint (.pptx) 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 are re-saved smaller and unused layouts removed; text, charts, animations and media are untouched. Returns the .pptx as base64 plus originalBytes, outputBytes and reductionPercent.
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. |