write_document
Create and save documents in Excel, Word, PowerPoint, or text formats by providing structured data and specifying the output file path.
Instructions
Write document content (Excel, Word, PowerPoint, Text)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to save the document | |
| format | Yes | Document format | |
| data | Yes | Document data structure. Excel: array of rows [[cell1, cell2], ...]. Word: {paragraphs: string[], tables?: [[[cell]]]}. Text/CSV/JSON: string or object |