DeckFlow Logo Developers DeckFlow documentation
Developer GuideAPI ReferenceMCPCLI

MCP Tools

Draft DeckFlow MCP tool catalog for AI agents. Tool names and schemas below are proposed documentation scaffolding, not final implementation contracts.

DeckFlow MCP should expose both product-level workflows and single-purpose file tools. The most important design choice is whether the final MCP server uses many narrow tools or fewer generic task tools with operation enums.

Recommended approach for agents: use a small set of workflow tools for Create, Revamp, and Translate, plus grouped tools for file conversion, extraction, merge/split, and optimization. This keeps the MCP surface readable while still covering the 23 public browser tools.

Common Task Model

Most DeckFlow operations should return a task object first, then let the agent poll status and fetch results.

Proposed ToolDescription
get_taskGet task status, progress, warnings, errors, and result metadata.
list_tasksList recent tasks for the authenticated user or workspace.
cancel_taskCancel a queued or running task when supported.
get_task_resultRetrieve output files, previews, download URLs, and metadata for a completed task.

Common Parameters To Define

ParameterPurposeRequired Decision
task_idIdentifies an async job.ID format, visibility scope, and expiration.
statusShows lifecycle state.Enum such as queued, running, succeeded, failed, cancelled, expired.
progressIndicates completion.Percent, stage name, ETA, or all three.
result_urlsProvides generated files as temporary download links.Signed URL lifetime and whether files also persist in workspace.
warningsReports non-fatal issues.Warning codes for missing fonts, layout changes, unsupported media, etc.
errorReports failure.Error schema, retryability, user-facing message, and developer code.

Product Workflow Tools

Create

Proposed ToolDescription
create_deckGenerate a deck from uploaded files, URLs, pasted text, Markdown, or a topic prompt.

Expected inputs:

ParameterDescriptionStatus
source_typeInput type such as file, url, text, markdown, or topic.Needs enum.
sourceFile reference, URL, or text payload.Needs file reference model.
promptUser instructions for structure, audience, tone, and emphasis.Needs max length.
output_formatPPTX, PDF, HTML, or image.Needs enum and defaults.
brand_profile_idOptional Brand DNA profile to apply.Needs Brand DNA model.
theme_or_template_idOptional template or design style.Needs template catalog.
slide_countDesired number or range of slides.Needs limits and defaults.
aspect_ratioPresentation ratio such as 16:9 or 4:3.Needs enum.
languageOutput language.Needs language code standard.
preserve_complex_elementsWhether to preserve formulas, charts, images, and nested structures.Needs default behavior.

Revamp

Proposed ToolDescription
revamp_deckRedesign an existing deck while preserving original text, data, and structure.

Expected inputs:

ParameterDescriptionStatus
filePPTX, Keynote, or PDF source deck.Needs file reference model.
style_modetemplate or brand_dna.Needs enum.
template_idProfessional template to apply.Needs template catalog.
brand_profile_idBrand DNA profile to apply.Needs Brand DNA model.
preserve_contentWhether original content must remain unchanged.Should likely default to true.
output_formatResult format.Needs enum; likely same type or PPTX/PDF.
batch_filesOptional multiple decks for batch revamp.Needs max count and result packaging.

Translate

Proposed ToolDescription
translate_deckTranslate decks and office documents while preserving layout and returning the same or selected output format.

Expected inputs:

ParameterDescriptionStatus
filePPTX, Keynote, PDF, Word, or Excel source file.Needs file reference model.
target_languageTarget language.Needs language code list.
source_languageOptional source language.Needs auto-detect behavior.
glossary_idExisting glossary to apply.Needs glossary model.
glossary_termsInline glossary terms for one task.Needs schema and limits.
preserve_layoutPreserve fonts, sizes, colors, animation, charts, SmartArt, tables, and image text.Needs default and failure behavior.
output_formatSame as input or explicit format.Needs enum and defaults.
formalityTone/formality control if supported.Needs enum or remove.

File Converter Tools

The public tools page lists 13 converter tools. MCP can expose them as one grouped tool:

Proposed ToolDescription
convert_fileConvert one file or text-like source from a supported input format to a target format.

Supported operation candidates:

OperationInputOutput
html_to_pngHTML/HTM file or pasted HTMLPNG
html_to_pptxHTML/HTM file or pasted HTMLPPTX
image_to_webpImageWebP
keynote_to_htmlKeynoteHTML
keynote_to_imageKeynoteImages
keynote_to_pdfKeynotePDF
markdown_to_imageMarkdown file or pasted MarkdownImage
pdf_to_imagePDFImages
ppt_to_pptxPPT/PPTXPPTX
powerpoint_to_pdfPPT/PPTXPDF
powerpoint_to_imagePPT/PPTXImages
powerpoint_to_videoPPT/PPTXMP4
word_to_pdfDOC/DOCXPDF

Parameters to define:

ParameterPurpose
operationConverter operation enum.
fileUploaded file reference.
contentPasted HTML or Markdown when no file is used.
output_formatExplicit output type when operation supports more than one.
page_rangeOptional page or slide range.
render_width / render_heightHTML/image/video rendering size when relevant.
scaleImage rendering density or pixel ratio.
include_animationsWhether PPT to video should preserve basic animations.
zip_outputsWhether multi-file image outputs should be zipped.

Extractor Tools

Proposed ToolDescription
extract_file_contentExtract OCR text, fonts, or PPTX text shapes from uploaded files.

Supported operation candidates:

OperationInputOutput
image_ocrImageText or structured OCR result
pptx_font_finderPPTXFont list
pptx_text_extractorPPTXStructured text shapes

Parameters to define:

ParameterPurpose
operationExtractor operation enum.
fileUploaded file reference.
languagesOCR language hints.
page_rangeSlides or pages to inspect.
include_coordinatesReturn text box coordinates for OCR or PPTX text shapes.
include_stylesReturn font family, size, color, and style metadata when available.
output_formatJSON, CSV, TXT, or ZIP if supported.

Merger & Splitter Tools

Proposed ToolDescription
compose_filesMerge, split, or package presentation assets.

Supported operation candidates:

OperationInputOutput
pptx_mergeMultiple PPTX filesOne PPTX
pptx_splitOne PPTXZIP of PPTX files
html_player_packMultiple HTML filesPlayable HTML package

Parameters to define:

ParameterPurpose
operationMerge/split/package operation enum.
filesOrdered file references.
slide_rangesRanges to include or split by.
preserve_stylesWhether to preserve source layout, fonts, and theme.
canvas_width / canvas_heightHTML player canvas size.
titleOptional HTML player title.
descriptionOptional HTML player description.
output_nameDesired output filename.

Optimizer Tools

Proposed ToolDescription
optimize_fileCompress, resize, or embed assets in files before delivery.

Supported operation candidates:

OperationInputOutput
file_compressZIP, PPTX, Keynote, DOCX, XLSXCompressed file
image_resizeImageResized image
pptx_embed_fontsPPTX plus font choices/filesPPTX
video_compressVideoCompressed video

Parameters to define:

ParameterPurpose
operationOptimizer operation enum.
fileUploaded file reference.
qualityCompression quality preset or numeric value.
target_size_mbDesired maximum output size.
width / heightImage resize dimensions.
lock_aspect_ratioPreserve original image aspect ratio.
font_filesFont files to embed into PPTX.
font_namesExisting font names to embed or subset.
video_codecCodec selection if supported.
video_bitrateBitrate target if supported.

Account And Capability Tools

Proposed ToolDescription
get_current_userReturn authenticated user, workspace, plan, and usage details.
get_deckflow_capabilitiesReturn supported tools, formats, limits, languages, templates, and feature flags.
list_brand_profilesList available Brand DNA profiles.
list_templatesList templates available for Create or Revamp.
list_glossariesList translation glossaries.
list_supported_languagesList supported language codes and names.

These tools reduce hard-coded docs and help agents choose valid parameters at runtime.

File Size Limits From Current Public Pages

Workflow / ToolCurrent Public Limit
Translate product workflowUp to 500 MB
HTML tools50 MB
Markdown to Image10 MB
Image OCR50 MB
Image to WebP / Image Resizer100 MB
Most deck/document/video tools300 MB

Final MCP docs must clarify whether MCP uses the same limits as browser tools, API limits, or plan-specific limits.