Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Convert document
CARBONE_MCP_CONVERT_DOCUMENTConvert a file to another format, e.g. DOCX, XLSX, PPTX, HTML or Markdown to PDF, or any document to PNG. No data is merged: Carbone tags such as {d.name} stay as written (use render_document to fill them). Example: { "file": "https://example.com/report.docx", "convertTo": "pdf" }. To check a layout, convert to png: the image is returned inline (for HTML or SVG, converter "C" with formatOptions { "Scale": 2 }). Returns text and images (png, jpg, gif, webp) inline; other formats as a one-time download link: give it to the user as is, never open it yourself (the first download consumes it).
Render document
CARBONE_MCP_RENDER_DOCUMENTGenerate a document (PDF, DOCX, XLSX, PPTX, ...) by merging JSON data into a Carbone template. Pass templateId for a stored template, or template (HTTPS URL or base64) for a one-off render. To change the format of a file without data, use convert_document; unsure which data a template expects, call inspect_template first. Returns text and images (png, jpg, gif, webp) inline; other formats as a one-time download link: give it to the user as is, never open it yourself (the first download consumes it). Batches and renders over a minute: pass async: true, then call get_render_result with the job ID.
Upload template
CARBONE_MCP_UPLOAD_TEMPLATEStore a reusable template, then render it with render_document and its Template ID. Pass exactly one of template, attachedTemplate, requestUploadUrl. Returns id (Template ID) and versionId. A new version of an existing template (id) is used by renders only once deployed (deployedAt).