pptx_to_template
Turn a PowerPoint (.pptx) from freedailypro into a .potx template (base64) and optionally change its theme: colors is {dk1, lt1, dk2, lt2, accent1..accent6, hlink, folHlink} as six-digit hex, plus headingFont, bodyFont and the theme name. keepSlides all, first or none. format pptx gives a re-themed deck instead. Shapes with their own fixed colour or font do not follow the theme; fixedColorShapes and fixedFontRuns count them. The .potx has been checked in LibreOffice, not in desktop PowerPoint.
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_to_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The theme's name | |
| colors | No | Theme colours by key, hex without # | |
| format | No | Default potx | |
| bodyFont | No | ||
| fileBase64 | Yes | The presentation (.pptx), base64 encoded. Up to 50 MB and 500 slides. Old .ppt files and password-protected files are not supported. | |
| keepSlides | No | Default all | |
| headingFont | No | ||
| removeNotesAndAuthor | No | Remove notes, comments and the author's name from the kept slides |