convert_markdown_to_docx
Convert Markdown files to Word documents, optionally applying styling from a reference DOCX for consistent formatting.
Instructions
Convert Markdown to Word document.
Args: input_path: Path to input Markdown file output_path: Optional output DOCX path reference_doc: Optional reference DOCX for styling
Returns: Output path or error message
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": {
"input_path": "<input_path>"
},
"name": "convert_markdown_to_docx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_path | Yes | ||
| output_path | No | ||
| reference_doc | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |