export_document
Convert Markdown and DOCX documents to each other's format, preserving structure and comments. Raises clear errors for unsupported conversions.
Instructions
Convert the document to another supported format ('markdown'|'docx').
Conversion goes through the normalized model: markdown->docx builds a fresh Word file (headings, lists, tables, comments); docx->markdown serializes parsed blocks back to Markdown. Unsupported pairs raise a clear export_error listing supported conversions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| title | No | ||
| output_path | No | ||
| target_format | Yes | ||
| include_comments | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||