Export Gamma
export_gammaFull Description
Starts exporting an existing Gamma presentation or document to a downloadable file. Use this when the user wants a PDF, PowerPoint (pptx), or PNG image export of a Gamma they already have. Requires the Gamma file ID or URL and the format: "pdf", "pptx", or "png" (png returns a ZIP archive with one PNG per card). This returns an exportId immediately. Where an interactive widget is displayed, it shows export progress and the download link on its own, so do not call get_export_status. Where there is no interactive widget, such as a CLI or terminal client that does not render MCP Apps, poll get_export_status with the exportId, waiting a few seconds between checks (do not tight-loop), until the status is "completed" or "failed". On completion, share the download URL; on failure, report the error or reason. Do NOT call export_gamma again to check progress (that starts a brand-new export). The download link expires after about one week and is not tied to the API key, so share it carefully and download promptly.
Parameters (2 required)
exportAsstringOutput format: "pdf" → a .pdf, "pptx" → a .pptx, "png" → a .zip archive containing one PNG per card (not a single image).
pdfpptxpnggammaIdOrUrlstringThe Gamma file ID or a full Gamma URL to export. The generationId or /generations/ URL returned by a generate tool is also accepted and automatically resolves once generation completes. Examples: "g5aykcic8ujm71s" or "https://gamma.app/docs/My-Deck-g5aykcic8ujm71s".