write_docx
Convert Markdown text to a Word document and save it locally. Use this tool to create properly formatted .docx files with headings, bold, italic, tables, lists, and code blocks from Markdown content.
Instructions
Convert Markdown text to a Word (.docx) document and save it to disk. Use this when the user asks you to create or save a Word document from text or Markdown content. The output_path should be an absolute path ending in .docx.
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": {
"markdown": "<markdown>",
"output_path": "<output_path>"
},
"name": "write_docx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markdown | Yes | ||
| output_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |