create_document
Create a Word .docx file from a list of plain paragraph texts, saving each string as a plain paragraph in order.
Instructions
Creates a new Word document (.docx) from a simple list of paragraph texts and saves it to disk. Each string becomes one plain paragraph, in order - no formatting, styles, tables, or images in this version. Does not support run styling, tables, images, headers/footers, or track changes - reference the Kookerella.FsWordDsl library directly for those.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"paragraphs": "<paragraphs>"
},
"name": "create_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Output file path, e.g. "C:\reports\memo.docx". The directory must already exist. | |
| paragraphs | Yes | The paragraphs to create, in order. Each element becomes one plain paragraph. |