pptx_redact
Black out sensitive text in a .pptx and get the redacted file (base64). Covers slides, notes, master and layouts, charts, SmartArt, comments, alt text and link targets. presets: email, phone, ssn, card, url, ip, money, date; also terms, regexes, imageSlides and imageByAlt; stripNotes, stripComments and stripMetadata remove those entirely. The result is re-read and any remaining match is reported (remaining, remainingWhere). Text inside pictures, video and audio cannot be found; warnings say what was not checked.
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_redact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Search speaker notes. Default true. | |
| terms | No | Exact words or phrases | |
| presets | No | Kinds of text to remove | |
| regexes | No | Regular expressions (JavaScript syntax) | |
| template | No | Search the master and layouts. Default true. | |
| matchCase | No | Default false | |
| fileBase64 | Yes | The presentation (.pptx), base64 encoded. Up to 50 MB and 500 slides. Old .ppt files and password-protected files are not supported. | |
| imageByAlt | No | Black out pictures whose name or alt text matches the terms or patterns | |
| stripNotes | No | Remove all speaker notes | |
| imageSlides | No | Black out the pictures on these slides, or all | |
| stripComments | No | Remove all comments | |
| stripMetadata | No | Remove author and file details | |
| dropChartWorkbooks | No | Remove a chart's embedded workbook when it still holds a match. Default true. |