generate_word_document
Create formatted Word documents with sections, tables, charts, and table of contents from analysis data using Microsoft 365 templates.
Instructions
Create professional Word documents with formatted sections, tables, charts, and table of contents from analysis data.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action: create new document, get existing, list all, export to format, or append content | |
| fileName | No | Name for the new document file (for create action) | |
| driveId | No | OneDrive/SharePoint drive ID (default: user's OneDrive) | |
| folderId | No | Folder ID within the drive (default: root) | |
| template | No | Template configuration for document styling | |
| sections | No | Array of content sections to create | |
| fileId | No | File ID for get/export/append actions | |
| format | No | Export format (for export action) | |
| content | No | Content to append (for append action) | |
| filter | No | OData filter for list action | |
| top | No | Number of results to return (for list action) |