convert_document
Convert documents between Markdown, HTML, DOCX, PDF, and Text by specifying source path and target format, with optional custom styles, templates, and image or metadata handling.
Instructions
Convert a document from one format to another. Supports conversion between Markdown, HTML, DOCX, PDF, and Text formats.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | Conversion options | |
| output_path | No | Output file path (optional, defaults to source filename) | |
| source_path | Yes | Source file path, supports absolute or relative paths | |
| source_format | No | Source format (optional, auto-detected from file extension) | |
| target_format | Yes | Target format |