update_document
Update Document
Updates the name of an existing generated document.
Ask your agent in plain language. Each of these maps to a real tool on the server.
update_document
Updates the name of an existing generated document.
get_template
Retrieves detailed information for a specific template by ID, including merge tags, delimiters, format, preview URI, and versioning status.
list_templates
Retrieves all templates in your DocuGenerate account, ordered by creation time (newest first). Returns template metadata including detected merge tags, format, and URIs.
generate_document
Generates a downloadable document by merging a template with dynamic data. Multiple data objects are combined into one file by default; set singleFile to false to receive a ZIP archive. Supports multiple output formats, PDF attachments, and PDF merging.
delete_template
Permanently deletes a template and all its associated data. This action cannot be undone.
list_documents
Retrieves all documents generated from a specific template. Returns document metadata including download URIs.
delete_document
Permanently deletes a generated document. This action cannot be undone.
get_document
Retrieves metadata for a specific generated document by ID, including the download URI, format, and creation timestamp.
update_template
Updates a template's name, merge tag delimiters, folder, region, or settings, and can replace its source file. Provide only the fields you want to change.
download_document
Provides a downloadable copy of an existing generated document, including PDF, Word, or ZIP output. Use list_documents to discover document IDs.
download_template
Provides a downloadable template source file, PDF preview, or PNG thumbnail. Use list_templates to discover template IDs.
create_template
Creates a reusable document template from a publicly accessible file URL. Returns the template ID and detected merge tags for document generation.
Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.
{"mcpServers": {"metorial": {"url": "<your-magic-mcp-url>"}}}
claude mcp add --transport http metorial <your-magic-mcp-url>
codex mcp add metorial --url <your-magic-mcp-url>codex mcp login metorial
One governed layer for every app your agents reach, not a separate connector per tool.
Generate documents from reusable Word templates by merging them with dynamic JSON or spreadsheet data. Create and manage templates (DOCX, DOC, ODT, TXT), generate documents in multiple output formats (PDF, DOCX, DOC, ODT, TXT, HTML, PNG), and manage generated documents. Supports PDF attachments, PDF merging, template versioning, configurable tag delimiters, enhanced syntax for complex expressions, and multi-region processing for data compliance.
Common questions about connecting Docugenerate to AI agents with Metorial.