convert_markdown_to_word_doc
Export markdown content as a downloadable Word (.docx) file. Useful when the user needs a Microsoft Word or Google Docs–compatible version of a document.
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
markdown_content | string | Yes | — | The full markdown body to convert into the Word file. Required. Pass the document text you got back from get_content (or that you just wrote); headings, lists, tables and emphasis are carried into the .docx, and nothing else is fetched for you. |
filename | string | No | — | Base name for the generated file, without an extension — the service appends ".docx" (any ".docx" you include is stripped). Defaults to "document" when omitted, so set it whenever you want a recognisable name, such as the document's title. |
document_url | string | No | — | Optional link back to the original document in Marcora. When supplied, a footer is appended to the end of the Word file reading "View / Edit in Marcora" and linking to this URL. Use it when the recipient may want to open or edit the live version; omit it for a standalone export. |
Input Schema
{
"type": "object",
"required": [
"markdown_content"
],
"properties": {
"filename": {
"type": "string",
"description": "Base name for the generated file, without an extension — the service appends \".docx\" (any \".docx\" you include is stripped). Defaults to \"document\" when omitted, so set it whenever you want a recognisable name, such as the document's title."
},
"document_url": {
"type": "string",
"description": "Optional link back to the original document in Marcora. When supplied, a footer is appended to the end of the Word file reading \"View / Edit in Marcora\" and linking to this URL. Use it when the recipient may want to open or edit the live version; omit it for a standalone export."
},
"markdown_content": {
"type": "string",
"description": "The full markdown body to convert into the Word file. Required. Pass the document text you got back from get_content (or that you just wrote); headings, lists, tables and emphasis are carried into the .docx, and nothing else is fetched for you."
}
}
}Output Schema
{
"type": "object",
"properties": {
"filename": {
"type": "string",
"description": "Filename of the generated Word document"
},
"download_url": {
"type": "string",
"description": "URL to download the generated .docx Word document"
}
}
}Instructions
Use this tool to export markdown content as a downloadable Word (.docx) file. Workflow: 1) Use get_content to retrieve the content body (markdown). 2) Pass the markdown_content to this tool. 3) Optionally provide a filename (without extension). 4) Optionally provide document_url to embed a footer link back to the original Marcora content. 5) Returns a download URL for the .docx file. Useful when users need Microsoft Word or Google Docs compatible format.