Create Docx
create_docxGenerates a native Word (.docx) document from structured content blocks including headings, paragraphs, bullets, and tables.
Instructions
Create a native Word document (.docx).
blocks is a list of structured content blocks:
{"type": "heading", "text": "...", "level": 1-3}
{"type": "paragraph", "text": "..."}
{"type": "bullets", "items": ["item 1", "item 2"]}
{"type": "table", "rows": [["Col 1", "Col 2"], ["Val 1", "Val 2"]]}
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>",
"blocks": "<blocks>"
},
"name": "create_docx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| title | No | ||
| blocks | Yes | ||
| overwrite | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||