Convert markdown to Word
convert_to_docxConverts markdown to a Microsoft Word (.docx) file and returns a download URL valid for 10 minutes. For large files, POST the markdown to https://md2doc.com/mcp/upload and pass the returned id as markdown_upload_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | Optional filename for the download, without the .docx extension. Defaults to 'document'. | |
| markdown | No | The markdown text to convert. Provide either this OR markdown_upload_id. | |
| markdown_upload_id | No | ID returned by POST /mcp/upload (multipart file field 'file'). Single-use, expires after 10 minutes. Use this instead of markdown for large documents. |