create_document
Create a new LibreOffice document at a specified path and choose Writer, Calc, Impress, or Draw, with optional starting content for Writer files.
Instructions
Create a new LibreOffice document
Args:
path: Full path where the document should be created
doc_type: Type of document to create (writer, calc, impress, draw)
content: Initial content for the document (for writer documents)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | No | ||
| doc_type | No | writer |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Full path to the document | |
| exists | Yes | Whether the file exists | |
| format | Yes | Document format (odt, ods, odp, etc.) | |
| filename | Yes | Document filename | |
| size_bytes | Yes | File size in bytes | |
| modified_time | Yes | Last modification time |