Skip to main content
Glama

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
NameRequiredDescriptionDefault
pptx_pathYesPath to the input PowerPoint file
replacements_jsonYesPath to JSON file with replacement specifications, or inline JSON string
output_pathYesPath for the output PowerPoint file

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shjanjua/pptx-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server