apply_text_replacements
Replace text content in PowerPoint slides using JSON specifications to update paragraph content with formatting while clearing unmodified text shapes.
Instructions
Apply text replacements to a PowerPoint presentation using a JSON specification. The JSON should map slide/shape IDs to new paragraph content with formatting. All text shapes are cleared unless explicitly provided with new content.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pptx_path | Yes | Path to the input PowerPoint file | |
| replacements_json | Yes | Path to JSON file with replacement specifications, or inline JSON string | |
| output_path | Yes | Path for the output PowerPoint file |