create_document
Create a Word document from markdown content. Supports headings, bold, italic, bullet and numbered lists, and blank lines.
Instructions
Create a new .docx Word document from markdown or plain text content. Supports headings (#, ##, ###), bold (text), italic (text), bullet lists (- item), numbered lists (1. item), and blank lines between paragraphs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "<title>",
"content": "<content>",
"outputPath": "<outputPath>"
},
"name": "create_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Document title — appears as the document heading | |
| content | Yes | Document body content as markdown. Supports headings (#, ##, ###), bold (**text**), italic (*text*), bullet lists (- item), and numbered lists (1. item). | |
| author | No | Author name stored in document metadata | |
| outputPath | Yes | Absolute or relative path where the .docx file will be saved (e.g., /tmp/report.docx) |