create_document
Create a blank .docx file at a specified path, optionally set its title, and auto-create parent folders without overwriting existing files. Use this first step before adding paragraphs or tables.
Instructions
Create a new blank .docx file, optionally setting the title core property. Refuses to overwrite an existing file (use copy_document with overwrite=True for that). Parent directories are created automatically. Populate the document afterward with insert_paragraphs, create_table, define_style, and other tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||