add_word_paragraph
Add formatted paragraphs to Word documents with control over bold, italic, font size, and alignment.
Instructions
Add a paragraph to a Word document with optional formatting.
Args: path: Path to the .docx file text: Paragraph text bold: Bold text italic: Italic text font_size: Font size in points (0 = default) alignment: left, center, right, justify
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>",
"text": "<text>"
},
"name": "add_word_paragraph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bold | No | ||
| path | Yes | ||
| text | Yes | ||
| italic | No | ||
| alignment | No | ||
| font_size | No |