create_document
Create a new blank .docx document or from a .dotx template. The document is automatically opened for editing under the given handle.
Instructions
Create a new blank .docx document (or from a .dotx template).
The document is automatically opened for editing under the given handle. Use save_document to save changes, or start editing immediately with insert_text, add_table, etc.
Args: output_path: Path for the new .docx file. template_path: Optional path to a .dotx template file. document_handle: Optional handle to store this document under.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | Yes | ||
| template_path | No | ||
| document_handle | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |