pptx_find_replace
Find and replace text across every slide of a PowerPoint (.pptx) from freedailypro, and get the edited .pptx back (base64). Matches inside a paragraph are replaced even when PowerPoint split the words into several runs; the formatting of the first run is kept. Speaker notes are searched too (includeNotes, default true); the slide master and layouts only when includeTemplate is true. Errors with 422 when nothing matches, so a wrong spelling is noticed.
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>",
"find": "<find>"
},
"name": "pptx_find_replace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find | Yes | The text to look for | |
| replace | No | The new text. Empty removes the match. | |
| matchCase | No | Match upper and lower case exactly. Default false. | |
| wholeWord | No | Match whole words only. 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. | |
| skipSlides | No | Slide numbers to leave alone | |
| includeNotes | No | Also change speaker notes. Default true. | |
| includeTemplate | No | Also change the slide master and layouts (footers, company names in the design). Default false. |