Content & Files

Carbone MCP

Generate PDF, DOCX, XLSX and other documents from templates and JSON data, convert files and manage stored templates through Carbone's hosted MCP server.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Download template

    Download a stored template's original file (DOCX, XLSX, HTML...), or with sample: true the sample dataset stored with it. Text and images come back inline; other files as a base64 attachment, which not every client can open.

  • Find template examples

    Find a ready-to-run Carbone example: when the user wants to try Carbone, needs a starting template, or asks how to build a kind of document (invoice, label, report, contract, e-invoice...) or use a feature (loop, chart, barcode...). Each example is a real template (DOCX, XLSX, PPTX, ODT, HTML, SVG, CSV, XML, IDML...) with its JSON data, the document it produces, and a page explaining its tags. Each comes with renderArguments: pass them, unchanged, to render_document to fill it with its data (converting it is optional). inspect_template on its template URL lists the data it expects; upload_template keeps it in the account to adapt. No argument: the newest examples and the use cases.

  • Get api status

    Check Carbone API health and version. Returns the current API version and a status message. Useful for verifying connectivity and confirming which Carbone version is active.

  • Get capabilities

    Returns a summary of all Carbone capabilities: supported formats, features, tool usage examples, and links to full documentation. Call this first if you are unsure what Carbone can do.

  • Get render result

    Get the result of a render_document call made with async: true: the one-time download link (give it to the user, never open it), the error, or "still rendering" (call again about 5 seconds later; no result after 10 minutes is reported as failed). Results are kept 1 hour, for the caller who started the render.

  • Inspect template

    List the Carbone tags a template uses and return a sample JSON dataset matching its structure. Call it before render_document when you do not know which data a template expects. Pass templateId (a stored template) or template (HTTPS URL or base64). It counts as one render on the account; {t()} tags are not listed.

  • List categories

    List the template categories in use, for the category filter of list_templates or upload_template.

  • List tags

    List the tags in use across templates. To find the templates with a tag, call list_templates and keep the results whose tags include it.

  • List templates

    List stored templates, with filters and pagination. Each result has an id (Template ID; null for a template uploaded with versioning: false) and a versionId: pass either as templateId to render_document, download_template or delete_template. Each result lists its tags: to find templates by tag, keep the results whose tags include it.