humanizer_save_document
Save rewritten Markdown text to a .docx, .pdf, .md or .txt file, optionally preserving the original DOCX styles and protecting the source file from being overwritten.
Instructions
Write rewritten Markdown text to a .docx, .pdf, .md or .txt file.
Args: text: The rewritten document as Markdown (headings with #, one blank line between paragraphs). output_path: Absolute path ending in .docx, .pdf, .md or .txt. source_path: Optional original file. If it is a DOCX with the same structure, its styles are kept. overwrite: Replace an existing output file. The source file is never overwritten.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| overwrite | No | ||
| output_path | Yes | ||
| source_path | No |